<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>STORY of AODDY. &#187; linux</title>
	<atom:link href="http://www.aoddy.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aoddy.com</link>
	<description>If you lose yourself, you lose everything. -- Michael Scofield</description>
	<lastBuildDate>Mon, 01 Aug 2011 14:32:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>My keyboard are not mapped correctly on VMWare server.</title>
		<link>http://www.aoddy.com/2009/03/06/my-keyboard-are-not-mapped-correctly-on-vmware-server/</link>
		<comments>http://www.aoddy.com/2009/03/06/my-keyboard-are-not-mapped-correctly-on-vmware-server/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 13:42:13 +0000</pubDate>
		<dc:creator>aoddy</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.aoddy.com/?p=453</guid>
		<description><![CDATA[After I installed the VMWare server 1.0.8 complete. I have found a problem in my keyboard such as I could not use up/down/right/left arrow keys. So I tried to searh a solution for solve this problem. Sure I found !!! &#8230; <a href="http://www.aoddy.com/2009/03/06/my-keyboard-are-not-mapped-correctly-on-vmware-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.aoddy.com/wp-content/uploads/2009/01/vmware.gif"><img vspace="5" hspace="5" align="left" src="http://www.aoddy.com/wp-content/uploads/2009/01/vmware.gif" alt="" /></a>After I installed the VMWare server 1.0.8 complete. I have found a problem in my keyboard such as I could not use up/down/right/left arrow keys. So I tried to searh a solution for solve this problem. Sure I found !!! Everything is in the Google.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span id="more-453"></span></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "7396784224";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>1. Add this line into /etc/vmware/config at last line.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">xkeymap.nokeycodeMap = true</pre></td></tr></table></div>

<p>2. Restart VMWare service.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo /etc/init.d/vmware restart</pre></td></tr></table></div>

<p><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "0202375480";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aoddy.com/2009/03/06/my-keyboard-are-not-mapped-correctly-on-vmware-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to backup running config on Cisco switch&amp;router.</title>
		<link>http://www.aoddy.com/2009/03/05/how-to-backup-running-config-on-cisco-switchrouter/</link>
		<comments>http://www.aoddy.com/2009/03/05/how-to-backup-running-config-on-cisco-switchrouter/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 07:36:57 +0000</pubDate>
		<dc:creator>aoddy</dc:creator>
				<category><![CDATA[CISCO]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Shell scripts]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Shell script]]></category>

		<guid isPermaLink="false">http://www.aoddy.com/?p=440</guid>
		<description><![CDATA[This is a simple solution for backup running config on Cisco switch&#38;router. Before you start to backup you should install tftp service expect command After installed tfpt service &#38; expect command. You can test to backup script by my example &#8230; <a href="http://www.aoddy.com/2009/03/05/how-to-backup-running-config-on-cisco-switchrouter/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a simple solution for backup running config on Cisco switch&amp;router. Before you start to backup you should install</p>
<ol>
<li>tftp service</li>
<li>expect command</li>
</ol>
<p>After installed tfpt service &amp; expect command. You can test to backup script by my example script below.</p>
<p><span id="more-440"></span><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "7396784224";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>&nbsp;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">#!/usr/bin/expect
&nbsp;
&nbsp;
set username &quot;USERNAME&quot;
set password &quot;PASSWORD&quot;
&nbsp;
spawn telnet IP-Core-SWITCH
&nbsp;
&nbsp;
# -- Authenticate -- #
expect &quot;Username: &quot;;
send &quot;$username\r&quot;;
expect &quot;Password: &quot;;
send &quot;$password\r&quot;;
&nbsp;
&nbsp;
# -- Copy file to TFTP Server -- #
expect &quot;*#&quot;;
send &quot;copy flash:config.text tftp://IP-Backup-Server/config.text\r&quot;;
expect &quot;*\?&quot;;
send &quot;\r&quot;;
&nbsp;
expect &quot;*\?&quot;;
send &quot;\r&quot;;
&nbsp;
expect &quot;*#&quot;;
send &quot;exit\r&quot;;
&nbsp;
interact</pre></td></tr></table></div>

<p>After you create a script complete, you should change a permission of this script to 700.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "0202375480";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aoddy.com/2009/03/05/how-to-backup-running-config-on-cisco-switchrouter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to start a script by root permission at boot time on Ubuntu server 8.10.</title>
		<link>http://www.aoddy.com/2009/03/02/how-to-start-a-script-by-root-permission-at-boot-time-on-ubuntu-server-810/</link>
		<comments>http://www.aoddy.com/2009/03/02/how-to-start-a-script-by-root-permission-at-boot-time-on-ubuntu-server-810/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 03:58:04 +0000</pubDate>
		<dc:creator>aoddy</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Shell scripts]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.aoddy.com/?p=437</guid>
		<description><![CDATA[Today my Opmanger server is down, I start it again but my service doesn&#8217;t start by automatic at boot time. So I need to start it by root permission at startup time. And this is my solution. 1. Write your &#8230; <a href="http://www.aoddy.com/2009/03/02/how-to-start-a-script-by-root-permission-at-boot-time-on-ubuntu-server-810/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today my Opmanger server is down, I start it again but my service doesn&#8217;t start by automatic at boot time. So I need to start it by root permission at startup time. And this is my solution.</p>
<p>1. Write your script for start a service</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">#!/bin/bash
echo &amp;quot;Start my service!!!&amp;quot;;
cd /path/of/my/script/
./run_my_script.sh</pre></div></div>

<p><span id="more-437"></span><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "7396784224";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>2. Change a permission file to execute</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ cd /path/of/my/script/
$ sudo chmod +x run_my_script.sh</pre></div></div>

<p>3. Create a symbolic link file into /etc/init.d/</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ sudo ln -s /path/of/my/script/run_my_script.sh /etc/init.d/run_my_script.sh</pre></div></div>

<p>4. Add this script into start up time</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ sudo update-rc.d run_my_script.sh defaults
update-rc.d: warning: /etc/init.d/run_my_script.sh missing LSB style header
 Adding system startup for /etc/init.d/run_my_script.sh ...
   /etc/rc0.d/K20run_my_script.sh -&amp;gt; ../init.d/run_my_script.sh
   /etc/rc1.d/K20run_my_script.sh -&amp;gt; ../init.d/run_my_script.sh
   /etc/rc6.d/K20run_my_script.sh -&amp;gt; ../init.d/run_my_script.sh
   /etc/rc2.d/S20run_my_script.sh -&amp;gt; ../init.d/run_my_script.sh
   /etc/rc3.d/S20run_my_script.sh -&amp;gt; ../init.d/run_my_script.sh
   /etc/rc4.d/S20run_my_script.sh -&amp;gt; ../init.d/run_my_script.sh
   /etc/rc5.d/S20run_my_script.sh -&amp;gt; ../init.d/run_my_script.sh</pre></div></div>

<p>5. Test by restart your server and check this process by ps -ef | grep run_my_script.sh</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ ps -ef | grep run_my_script.sh</pre></div></div>

<p><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "0202375480";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>Thanks for original : <a href="http://www.ubuntu-howto.info/howto/how-to-execute-a-command-program-or-script-at-startup-init-mini-howto">http://www.ubuntu-howto.info/howto/how-to-execute-a-command-program-or-script-at-startup-init-mini-howto</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aoddy.com/2009/03/02/how-to-start-a-script-by-root-permission-at-boot-time-on-ubuntu-server-810/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install VMWare server on Ubuntu server 8.10.</title>
		<link>http://www.aoddy.com/2009/01/31/how-to-install-vmware-server-on-ubuntu-server-810/</link>
		<comments>http://www.aoddy.com/2009/01/31/how-to-install-vmware-server-on-ubuntu-server-810/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 05:31:39 +0000</pubDate>
		<dc:creator>aoddy</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.aoddy.com/?p=401</guid>
		<description><![CDATA[After I spent a lot of time to install VMWare ESXi on my server, I found problem about ESXi could not install on my disk RAID#1. Many people found this problem to : http://communities.vmware.com/message/1142404 So if you would like to &#8230; <a href="http://www.aoddy.com/2009/01/31/how-to-install-vmware-server-on-ubuntu-server-810/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img width="187" vspace="5" hspace="5" height="72" align="left" src="http://www.aoddy.com/wp-content/uploads/2009/01/vmware.gif" alt="vmware" title="vmware" class="alignleft size-full wp-image-402" />After I spent a lot of time to install VMWare ESXi on my server, I found problem about ESXi could not install on my disk RAID#1. Many people found this problem to : <br />
<a href="http://communities.vmware.com/message/1142404">http://communities.vmware.com/message/1142404</a></p>
<p>So if you would like to install VMWare ESXi into your server, you should check your hardware which is supported by VMWare ESXi from this link before :<br />
<a href="http://www.vm-help.com/esx/esx3i/Hardware_support.php">http://www.vm-help.com/esx/esx3i/Hardware_support.php</a></p>
<p>I hope, it will support my server sooner .</p>
<p>Anyway, I came back to my original solution that is installation the VMWare server.</p>
<p><span id="more-401"></span><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "7396784224";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>After I installed an Ubuntu Server 8.10 completely, I would like to install a VMWare server on this server. And I found original solution from</p>
<p><a href="http://kuparinen.org/martti/comp/ubuntu/en/server.html">http://kuparinen.org/martti/comp/ubuntu/en/server.html</a></p>
<p>These are my steps :</p>
<ol>
<li><span id="1233379381668S" style="display: none;">&nbsp;</span><span id="1233379375889S" style="display: none;">&nbsp;</span>Install some importance software.

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># sudo apt-get install openssh-client
# sudo apt-get install wget
# sudo apt-get install chkrootkit rkhunter
# sudo chkrootkit
# rkhunter --checkall</pre></div></div>

</li>
<li>Download the VMWare server from <a href="http://www.vmware.com/download/server/">http://www.vmware.com/download/server/</a></li>
<li>Download the VMWare-Update from <a href="http://www.insecure.ws/warehouse/vmware-update-2.6.27-5.5.7-2.tar.gz" target="_blank">http://www.insecure.ws/<wbr></wbr>warehouse/<span class="nfakPe">vmware</span>-update-2.6.<wbr></wbr>27-5.5.7-2.tar.gz</a> by wget command 

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># wget -c http://www.insecure.ws/warehouse/vmware-update-2.6.27-5.5.7-2.tar.gz</pre></div></div>

</li>
<li>Install the VMWare server

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># sudo aptitude install xinetd
# sudo aptitude install build-essential
# sudo aptitude install linux-headers-`uname -r`
# sudo aptitude install libx11-6 libx11-dev libxtst6 xlibs-dev libxrender-dev
# tar xvfz VMware-server-1.0.X-XXXX.tar.gz
# cd vmware-server-distrib
# sudo ./vmware-install.pl</pre></div></div>

</li>
<li>If you cannot compile module, you can compile by vmware-update

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># tar xvfz vmware-update-2.6.27-5.5.7-2.tar.gz
# cd vmware-update; 
# sudo ./runme.pl</pre></div></div>

</li>
</ol>
<p>&nbsp;If you find some problem about installation, please read this <a href="http://www.aoddy.com/2007/10/15/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%95%E0%B8%B4%E0%B8%94%E0%B8%95%E0%B8%B1%E0%B9%89%E0%B8%87-vmware-server-%E0%B8%9A%E0%B8%99-ubuntu-704/">post</a> before.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "0202375480";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aoddy.com/2009/01/31/how-to-install-vmware-server-on-ubuntu-server-810/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux on iPhone</title>
		<link>http://www.aoddy.com/2009/01/23/iphone/</link>
		<comments>http://www.aoddy.com/2009/01/23/iphone/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 15:40:14 +0000</pubDate>
		<dc:creator>aoddy</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.aoddy.com/?p=369</guid>
		<description><![CDATA[มาดูเค้า เอา Linux ยัดลง iPhone ครับ&#8230;. สุ&#8230;โต้ยยย iPhone Linux Demonstration Video from planetbeing on Vimeo. &#160;]]></description>
			<content:encoded><![CDATA[<p>มาดูเค้า เอา Linux ยัดลง iPhone ครับ&#8230;.</p>
<p>สุ&#8230;โต้ยยย</p>
<p><span id="more-369"></span><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "7396784224";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p><object width="400" height="533"><param value="true" name="allowfullscreen" /><param value="always" name="allowscriptaccess" /><param value="http://vimeo.com/moogaloop.swf?clip_id=2373142&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" name="movie" /><embed width="400" height="533" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" src="http://vimeo.com/moogaloop.swf?clip_id=2373142&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1"></embed></object></p>
<p>
<a href="http://vimeo.com/">iPhone Linux Demonstration Video</a> from <a href="http://vimeo.com/user983560">planetbeing</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>&nbsp;</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "0202375480";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aoddy.com/2009/01/23/iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install php-ldap module on CentOS5.</title>
		<link>http://www.aoddy.com/2009/01/18/how-to-install-php-ldap-module-on-centos5/</link>
		<comments>http://www.aoddy.com/2009/01/18/how-to-install-php-ldap-module-on-centos5/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 07:20:59 +0000</pubDate>
		<dc:creator>aoddy</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[OpenLDAP]]></category>

		<guid isPermaLink="false">http://www.aoddy.com/?p=291</guid>
		<description><![CDATA[yum install php-ldap vi /etc/php.ini add extension=ldap.so service httpd restart]]></description>
			<content:encoded><![CDATA[<p>yum install php-ldap</p>
<p>vi /etc/php.ini</p>
<p>add extension=ldap.so</p>
<p>service httpd restart</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aoddy.com/2009/01/18/how-to-install-php-ldap-module-on-centos5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>มาทำความรู้จักกับไฟล์ System ext4 กันหน่อยมั๊ย</title>
		<link>http://www.aoddy.com/2009/01/14/ext4_filesystem/</link>
		<comments>http://www.aoddy.com/2009/01/14/ext4_filesystem/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 16:25:41 +0000</pubDate>
		<dc:creator>aoddy</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[New technologies]]></category>
		<category><![CDATA[ext4]]></category>

		<guid isPermaLink="false">http://www.aoddy.com/?p=310</guid>
		<description><![CDATA[แอบไปอ่านเจอมาว่าตัว Ubuntu 9.04 ตัวใหม่ที่จะออกมัน Support ไฟล์ระบบแบบ ext4 ก็เลยเกิดคำถามขึ้นในใจว่า มันดีกว่า ext3 ยังไง คุณสมบัติเด่นๆ มีอะไรบ้าง ว่าแล้วผมก็ไปเริ่มที่ wikipedia ก็ไปเจอคำตอบมา ว่าแล้วก็ลองดูกันครับว่ามีอะไรน่าสนใจบ้าง คงต้องบอกไว้ก่อนเลยว่า ตัว Ext4 นั้นเป็นระบบไฟล์แบบ Journaling file system คือมีการเก็บ log ของไฟล์ก่อนที่จะมีการโยนข้อมูลดังกล่าวลงใน system ซึ่งตรงนี้จะช่วยลดปัญหาการ lost ของข้อมูลเวลาเกิดมีไฟฟ้าดับขึ้นมา ซึ่ง Journaling file system นี้ถือเป็นเทคโนโลยีเด่นของ Ext3 เลยก็ว่าได้ คำถามก็คือทำไมต้องมี Ext4 &#8230; <a href="http://www.aoddy.com/2009/01/14/ext4_filesystem/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>แอบไปอ่านเจอมาว่าตัว Ubuntu 9.04 ตัวใหม่ที่จะออกมัน Support ไฟล์ระบบแบบ ext4 ก็เลยเกิดคำถามขึ้นในใจว่า มันดีกว่า ext3 ยังไง คุณสมบัติเด่นๆ มีอะไรบ้าง ว่าแล้วผมก็ไปเริ่มที่ <a href="http://en.wikipedia.org/wiki/Ext4">wikipedia</a> ก็ไปเจอคำตอบมา ว่าแล้วก็ลองดูกันครับว่ามีอะไรน่าสนใจบ้าง</p>
<p><span id="more-310"></span><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "7396784224";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
 <br />
คงต้องบอกไว้ก่อนเลยว่า ตัว Ext4 นั้นเป็นระบบไฟล์แบบ Journaling file system คือมีการเก็บ log ของไฟล์ก่อนที่จะมีการโยนข้อมูลดังกล่าวลงใน system ซึ่งตรงนี้จะช่วยลดปัญหาการ lost ของข้อมูลเวลาเกิดมีไฟฟ้าดับขึ้นมา ซึ่ง Journaling file system นี้ถือเป็นเทคโนโลยีเด่นของ Ext3 เลยก็ว่าได้ คำถามก็คือทำไมต้องมี Ext4 ขึ้นมาทั้งๆ ที่ Ext3 มันก็ Work อยู่แล้ว คำตอบก็คือ มันเป็นปัญหาเกิดจากมีการนำ file system ที่เป็น ext3 พยายามมาใช้บน Storage ที่เป็น 64 บิตนั่นเอง โดยเมื่อเอา Storage ที่มีขนาด 20 TB แบบ 64 bit มาใช้งานจะพบว่าสามารถใช้งานได้เพียงแค่ 16 TB เท่านั้น เป็นต้น</p>
<p><u><strong>Feature</strong></u></p>
<p>1. ขนาดของไฟล์</p>
<p style="margin-left: 40px;">รองรับพื้นที่ ขนาด 1 Exbibye (EB)<br />
งง หล่ะสิ ว่าเท่าไหร่&#8230;ผมก็ งง มาไล่กันเล่นๆ ครับ<br />
1 MB = 1024 KB<br />
1 GB = 1024 MB<br />
1 TB = 1024 GB <br />
1 PB = 1024 TB<br />
1 EB = 1024 PB &lt;&#8211; ตรงนี้ครับ</p>
<p>2. ขนาดของ Block site</p>
<p style="margin-left: 40px;">พอเป็น Ext4 กำหนดไว้ที่ 4 KB ตอนเป็น Ext3 มีหลายขนาด แล้วแต่ว่า Disk เรามีขนาดเท่าไหร่ เช่น<br />
1 KB สำหรับ Disk &lt; 2TB<br />
2 KB สำหรับ Disk &lt; 4TB<br />
4 KB สำหรับ Disk &lt; 8TB<br />
8 KB สำหรับ Disk &lt; 16TB</p>
<p>3. สามารถ mount disk ระหว่าง ext3 กับ ext4 ได้</p>
<p style="margin-left: 40px;">คือสามารถ ที่จะนำ ext3 ไป mount เป็น ext4 ได้แล้วถ้าต้องการ mount จาก disk ที่เป็น ext4 มาเป็น ext3 ก็ทำได้เช่นเดียวกัน</p>
<p>4. สามารถมี Subdirectory ได้ถึงที่ละดับ 64000 level ตอนเป็น ext3 สามารถมี Subdirectory ได้แค่ 32000 level เท่านั้น</p>
<p>5. มี Multiblock Allocate เพื่อป้องกันการเขียนไฟล์ที่ตำแหน่งเดียวกันในเวลาเดียวกัน</p>
<p>6. เพิ่มไปให้อีก 2 bit เพื่อป้องกันการปัญหา &quot;Year 2032 Problem&quot; โดยตรงนี้ Support ไปอีก 500 ปี</p>
<p>โดยส่วนตัวมองว่ายังค่อนข้างไกลตัวกับปัญหานี้..แต่ก็อย่างว่าครับทำความรู้จักมันไว้ไม่เสียหลาย..ถ้าว้นไหนมีโอกาสเจอลูกค้า Hiso มี Storage มากกว่า 16 TB ผมจะได้เดินไปใกล้ๆแล้วบอกว่า Ext4 ช่วยท่านได้ครับ <img src='http://www.aoddy.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "0202375480";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
&nbsp; </p>
]]></content:encoded>
			<wfw:commentRss>http://www.aoddy.com/2009/01/14/ext4_filesystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Opmanager version 7 on Ubuntu server 8.10.</title>
		<link>http://www.aoddy.com/2008/12/22/how-to-install-opmanager-version-7-on-ubuntu-server-810/</link>
		<comments>http://www.aoddy.com/2008/12/22/how-to-install-opmanager-version-7-on-ubuntu-server-810/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 12:07:21 +0000</pubDate>
		<dc:creator>aoddy</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[CISCO]]></category>

		<guid isPermaLink="false">http://www.aoddy.com/?p=295</guid>
		<description><![CDATA[Opmanager is software which help you to monitoring your network. It can tell to you about current status of your router, switch and server. Otherthan it can automatic discover your devices in your network too. These are a list of &#8230; <a href="http://www.aoddy.com/2008/12/22/how-to-install-opmanager-version-7-on-ubuntu-server-810/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Opmanager is software which help you to monitoring your network. It can tell to you about current status of your router, switch and server. Otherthan it can automatic discover your devices in your network too.</p>
<p>These are a list of steps for install the OpManager version 7 on Ubuntu Server 8.10.</p>
<p><span id="more-295"></span><br />
<script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "7396784224";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>1. Download Opmanager version 7 from http://download.adventnet.com/products/opmanager/29809517/ManageEngine_OpManager_7_linux.bin</p>
<p>2. Change mode of this file to execute file.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ sudo chmod +x ManageEngine_OpManager_7_linux.bin</pre></div></div>

<p>3. Install these package libexpat1 and libexpat-dev</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ sudo aptitude install libexpat1 libexpat-dev</pre></div></div>

<p>4. Install by command line</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ sudo ./ManageEngine_OpManager_7_linux.bin -console</pre></div></div>

<p>5. Please read carefully . I think you can do. <img src='http://www.aoddy.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>6. Start apache service by&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ cd /opt/AdventNet/ME/OpManager/apache/bin/
$ sudo ./apachectl start</pre></div></div>

<p>After you start you should found error message by default. Such as</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">1. /opt/AdventNet/ME/OpManager/apache/bin/httpd: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
./apachectl start: httpd could not be started</pre></div></div>

<p>&nbsp;How to fix :&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ sudo ln -s /usr/lib/libexpat.so.1.5.2 /usr/lib/libexpat.so.0&amp;nbsp;</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">2./opt/AdventNet/ME/OpManager/apache/bin/httpd: error while loading shared libraries: libaprutil-0.so.0: cannot open shared object file: No such file or directory
./apachectl start: httpd could not be started</pre></div></div>

<p>How to fix :</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ sudo ln -s /opt/AdventNet/ME/OpManager/apache/lib/libaprutil-0.so.0 /usr/lib/libaprutil-0.so.0</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">3./opt/AdventNet/ME/OpManager/apache/bin/httpd: error while loading shared libraries: libapr-0.so.0: cannot open shared object file: No such file or directory
./apachectl start: httpd could not be started</pre></div></div>

<p>How to fix :</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ sudo ln -s /opt/AdventNet/ME/OpManager/apache/lib/libapr-0.so.0 /usr/lib/libapr-0.so.0</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">4. httpd: could not open document config file /home/kernel/satya/installed_apache/conf/httpd.conf
 ./apachectl start: httpd could not be started.</pre></div></div>

<p>How to fix :</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ sudo mkdir -p /home/kernel/satya/installed_apache/conf
$ sudo ln -s /opt/AdventNet/ME/OpManager/apache/conf/httpd.conf /home/kernel/satya/installed_apache/conf/httpd.conf</pre></div></div>

<p>7. Start apache service again by&nbsp;</p>
<p>&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ cd /opt/AdventNet/ME/OpManager/apache/bin/
$ sudo ./apachectl start
./apachectl start: httpd started</pre></div></div>

<p>&nbsp;</p>
<p>8.Start  OpManager Service&nbsp; by</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">$ cd /opt/AdventNet/ME/OpManager/bin/
$ sudo ./StartOpManagerServer.shJava Home /opt/AdventNet/ME/OpManager/jre
cp: cannot stat `/opt/AdventNet/ME/OpManager/apache/ssl/backup/ssl.conf': No such file or directory
The File: /opt/AdventNet/ME/OpManager/apache/ssl/ssl.conf does not exist
inside addon check
&nbsp;
This OpManager has been licensed to Evaluation User.
&nbsp;
Starting AdventNet ManageEngine Server Modules, please wait&amp;nbsp;
&nbsp;
&nbsp;
&nbsp;
Process : StartTelnetClient                       [ Started ] 
Process : OpManagerStatusProcess                  [ Started ]
Process : AuthMgr                                 [ Started ]
Process : NetFlowProcess                          [ Started ]
Process : DataMgmtRPI                             [ Started ] 
Process : NmsPolicyMgr                            [ Started ] 
Process : OpManagerRunApacheExeModule             [ Started ]
Process : NMSMServer                              [ Started ]
Process : UserConfigProcess                       [ Started ]
Process : NmsAuthenticationManager                [ Started ]
Process : CLIFactoryBinder                        [ Started ]
Process : SetSecurityProperty                     [ Started ]
Process : NMSSAServer                             [ Started ]
Process : NmsAuthManager                          [ Started ]
Process : DBServer                                [ Started ]
Process : MapServerBE                             [ Started ]
Process : EventMgr                                [ Started ]
Process : Collector                               [ Started ]
Process : OpManagerProcess                        [ Started ]
Process : RunJSPModule                            [ Started ]
Process : MServerFE                               [ Started ]
Process : AuthorizationManagerFE                  [ Started ]
Process : SAServerFE&amp;amp;                             [ Started ]
Process : AuthenticationManagerFE                 [ Started ]
Process : StartTelnetClientFE                     [ Started ]
Process : NmsMainFE                               [ Started ]
Process : PolicyFE                                [ Started ]
Process : NmsSAServerFE                           [ Started ]
Process : EventFE                                 [ Started ]
Process : ExampleFE                               [ Started ]
Process : AlertFE                                 [ Started ]
Process : PollFE                                  [ Started ]
Process : UserConfigProcessFE                     [ Started ]
Process : MapFE                                   [ Started ]
Process : TopoFE                                  [ Started ]
&nbsp;
&nbsp;
Verifying connection with web server ... verified
&nbsp;
OpManager modules started successfully
&nbsp;
Please connect your client to the web server on port: 9090 as http://localhost:9090</pre></div></div>

<p>&nbsp;</p>
<p>Perfect !!! <img src='http://www.aoddy.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "0202375480";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aoddy.com/2008/12/22/how-to-install-opmanager-version-7-on-ubuntu-server-810/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to enable RAM more than 4 GB on CentOS 5.</title>
		<link>http://www.aoddy.com/2008/12/14/how-to-enable-ram-more-than-4-gb-on-centos-5/</link>
		<comments>http://www.aoddy.com/2008/12/14/how-to-enable-ram-more-than-4-gb-on-centos-5/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 05:38:56 +0000</pubDate>
		<dc:creator>aoddy</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.aoddy.com/?p=124</guid>
		<description><![CDATA[After I had increased the memory in my server from 2 GB to 4 GB, I found my server could see the memory about 3.5 GB only. I found this problem happened from my Kernel didn&#8217;t support so I would &#8230; <a href="http://www.aoddy.com/2008/12/14/how-to-enable-ram-more-than-4-gb-on-centos-5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img vspace="5" hspace="5" align="left" src="http://figs.cyberciti.biz/3rdparty/rhlogo.gif" alt="" />After I had increased the memory in my server from 2 GB to 4 GB, I found my server could see the memory about 3.5 GB only. I found this problem happened from my Kernel didn&#8217;t support so I would like to upgrade the Kernel so as to use my memory at 4 GB.</p>
<p>And these are steps for solve this problem.</p>
<p><span id="more-124"></span><br />
<script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "7396784224";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>
1. Upgrade the Kernel.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># yum install kernel-PAE</pre></div></div>

<p>2. If you would like to compile some software such as VMWare, you should install kernel-PAE-devel too. (Optional)</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># yum install kernel-PAE-devel</pre></div></div>

<p>3. Change DEFAULTKERNEL=kernel-PAE in file /etc/sysconfig/kernel such as</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes
&nbsp;
# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel-PAE</pre></div></div>

<p>4. Reboot</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "0202375480";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aoddy.com/2008/12/14/how-to-enable-ram-more-than-4-gb-on-centos-5/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to install trac service on Ubuntu for multiple projects using Mod_Python.</title>
		<link>http://www.aoddy.com/2008/10/17/how-to-install-trac-service-on-ubuntu-for-multiple-projects-using-mod_python/</link>
		<comments>http://www.aoddy.com/2008/10/17/how-to-install-trac-service-on-ubuntu-for-multiple-projects-using-mod_python/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 16:25:21 +0000</pubDate>
		<dc:creator>aoddy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://www.aoddy.com/?p=228</guid>
		<description><![CDATA[Previously I have installed a DNS service on my Ubuntu server. Today I would like to install a Trac service which supports for multiple projects using Mod_Python on Apache. Condition : I would like to use sub-domain for trac service &#8230; <a href="http://www.aoddy.com/2008/10/17/how-to-install-trac-service-on-ubuntu-for-multiple-projects-using-mod_python/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a title="How to install DNS server on Ubuntu 8.04.1." href="http://www.aoddy.com/2008/10/11/how-to-install-dns-server-on-ubuntu-8041/" target="_blank"><img class="alignleft" style="margin: 5px;" title="Trac Integrated SCM &amp; Project management" src="http://www.edgewall.org/gfx/trac_logo.png" alt="Trac Logo" width="214" height="61" />Previously</a> I have installed a DNS service on my Ubuntu server. Today I would like to install a Trac service which supports for multiple projects using Mod_Python on Apache.</p>
<p><span style="text-decoration: underline;"><strong><br />
</strong></span></p>
<p><span style="text-decoration: underline;"><strong>Condition :</strong></span></p>
<ol>
<li>I would like to use sub-domain for trac service that is trac.aoddy.com</li>
<li>Trac service can support multiple projects such as trac.aoddy.com/Project1, trac.aoddy.com/Project2</li>
<li>Trac service supports SVN service too.</li>
</ol>
<p><span id="more-228"></span><br />
<script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "7396784224";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<br />
<span style="text-decoration: underline;"><strong>Softwares :<br />
</strong></span></p>
<ol>
<li>enscript</li>
<li>libapache2-mod-python</li>
<li>python-docutils</li>
<li>trac</li>
<li>db4.3-util</li>
<li>libapache2-svn</li>
<li>subversion-tools</li>
</ol>
<p>You can install software by</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo apt-get install enscript libapache2-mod-python python-docutils trac db4.3-util libapache2-svn subversion-tools</pre></td></tr></table></div>

<p><span style="text-decoration: underline;"><strong>Install &amp; Configurations :</strong></span></p>
<ol>
<li>Create SVN directory such as :

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo mkdir /svn</pre></td></tr></table></div>

</li>
<li>Set SVN directory to repository.

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo svnadmin create /svn</pre></td></tr></table></div>

</li>
<li>Create a user account so as to security policy.

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo htpasswd 2 -cm /etc/apach2/dav_svn.passwd YOUR-ACCOUNT</pre></td></tr></table></div>

</li>
<li>Create TRAC directory such as :

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo mkdir /trac</pre></td></tr></table></div>

</li>
<li>Change owner of TRAC directory to www-data :

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo chown -R www-data:www-data /trac</pre></td></tr></table></div>

</li>
<li>Create a configuration file of TRAC in apache

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo vi /etc/apache2/site-available/trac.aoddy.com
&lt;VirtualHost * &gt;
ServerName trac.aoddy.com
DocumentRoot /trac
&lt;Location /&gt;
SetHandler mod_python
PythonInterpreter main_interpreter
PythonOption TracEnvParentDir /var/lib/trac
PythonOption TracUriRoot /
&lt;/Location&gt;
&lt;LocationMatch &quot;/[^/]+/login&quot;&gt;
AuthType Basic
AuthName &quot;Trac&quot;
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
&lt;/LocationMatch&gt;
Alias /svn /svn
&lt;Location /svn/&gt;
DAV svn
SVNParentPath /svn
SVNListParentPath On
AuthType Basic
AuthName &quot;Subversion Repository&quot;
AuthUserFile /etc/apache2/dav_svn.passwd
AuthzSVNAccessFile /etc/apache2/authz_svn.access
Require valid-user
&lt;/Location&gt;
ErrorLog /var/log/apache2/trac.aoddy.com/error.log
CustomLog /var/log/apache2/trac.aoddy.com/access.log common
&lt;/VirtualHost&gt;</pre></td></tr></table></div>

</li>
<li>Create a directory for keep error log.

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo mkdir -p /var/log/apache2/trac.aoddy.com/</pre></td></tr></table></div>

</li>
<li>Add this site into apache service.

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo a2ensite trac.aoddy.com
$ sudo /etc/init.d/apach2 restart</pre></td></tr></table></div>

</li>
<li>Sometime you need to re-configure in this file, I recommend you should use these commands.

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo a2dissite trac.aoddy.com
$ sudo a2ensite trac.aoddy.com
$ sudo /etc/init.d/apach2 restart</pre></td></tr></table></div>

</li>
<li>Test by open an URL http://trac.aoddy.com/</li>
</ol>
<p><span style="text-decoration: underline;"><strong>Create SVN</strong></span></p>
<p>You can use this script for create a SVN environment.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">#!/bin/bash
PROJECTNAME=$1
mkdir -p /tmp/${PROJECTNAME}/branches /tmp/${PROJECTNAME}/tags/ /tmp/${PROJECTNAME}/trunks
svnadmin create /svn/${PROJECTNAME}
svn import /tmp/${PROJECTNAME} file:///svn/${PROJECTNAME} -m &quot;initial import&quot;
sudo rm -rf /tmp/${PROJECTNAME}</pre></td></tr></table></div>

<p>Don&#8217;t remember to change mode of this script to execute file and run this script by root permission.</p>
<p><span style="text-decoration: underline;"><strong>Create TRAC </strong></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo trac-admin /trac/YOUR-PROJECT-NAME initenv</pre></td></tr></table></div>

<p>After you run this command you should find some question about your project</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">the project name (YOUR-PROJECT-NAME)
use the default database connection string (sqlite:db/trac.db)
the path to svn repository (/svn/YOUR-PROJECT-NAME)
use the default Trac templates directory (/usr/share/trac/templates)</pre></td></tr></table></div>

<p>Change permission of this project so as to support apache service</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">$ sudo chown -R www-data /trac/YOUR-PROJECT-NAME</pre></td></tr></table></div>

<p>Woowww, you should find your new project on trac service at http://trac.aoddy.com/YOUR-PROJECT-NAME<br />
<script type="text/javascript"><!--
google_ad_client = "pub-2013111130648878";
google_ad_slot = "7396784224";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aoddy.com/2008/10/17/how-to-install-trac-service-on-ubuntu-for-multiple-projects-using-mod_python/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

