<?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>Chakkrit Tantithamthavorn&#039;s Official Personal Website &#187; Ubuntu</title>
	<atom:link href="http://www.klainfo.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.klainfo.com</link>
	<description></description>
	<lastBuildDate>Wed, 01 Feb 2012 13:12:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>แค่ update python version จาก 2.6.4 ไป 3.1.2</title>
		<link>http://www.klainfo.com/2010/07/11/%e0%b9%81%e0%b8%84%e0%b9%88-update-python-version-%e0%b8%88%e0%b8%b2%e0%b8%81-2-6-4-%e0%b9%84%e0%b8%9b-3-1-2/</link>
		<comments>http://www.klainfo.com/2010/07/11/%e0%b9%81%e0%b8%84%e0%b9%88-update-python-version-%e0%b8%88%e0%b8%b2%e0%b8%81-2-6-4-%e0%b9%84%e0%b8%9b-3-1-2/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 17:48:10 +0000</pubDate>
		<dc:creator>klainfo</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[klainfo]]></category>
		<category><![CDATA[Mikelab]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[print is a function]]></category>
		<category><![CDATA[python 2.6.4]]></category>
		<category><![CDATA[python 3.1.2]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[updated]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.klainfo.com/?p=810</guid>
		<description><![CDATA[แม่มสงสัยอยู่ตั้งนานว่า ทำไม update python version 3.1.2 บนเครื่อง cloud2 แล้วมันแปลกๆ แค่ลอง print &#8216;test&#8217; มันก็ฟ้อง error   ไอ้เราก็หาวิธีแก้อยู่ตั้งนาน ที่ไหนได้ python 3.1.2 มันบอกว่า print is a function แล้วนะเธอว์ๆๆๆๆๆ แสดเอ๊ย ใครจะไปรู้ อุตส่าห์ download sourcecode มาแล้ว  เลย ลงผ่าน source code เรยละกัน ดูวิธีติดตั้งกันหน่อยละกัน ของเดิมๆ สำหรับคนทำเป็นแล้ว 1.) download sourcecode จาก http://python.org/ftp/python/3.1.2/Python-3.1.2.tgz 2.) พิมพ์คำสั่ง ./configure make make install ปล. ความแตกต่างของ python 3.0+  คลิก [...]]]></description>
			<content:encoded><![CDATA[<p>แม่มสงสัยอยู่ตั้งนานว่า ทำไม update python version 3.1.2 บนเครื่อง cloud2 แล้วมันแปลกๆ<br />
แค่ลอง print &#8216;test&#8217; มันก็ฟ้อง error   ไอ้เราก็หาวิธีแก้อยู่ตั้งนาน</p>
<p>ที่ไหนได้ python 3.1.2 มันบอกว่า <strong>print is a function</strong> แล้วนะเธอว์ๆๆๆๆๆ แสดเอ๊ย ใครจะไปรู้ อุตส่าห์ download sourcecode มาแล้ว  เลย ลงผ่าน source code เรยละกัน</p>
<p>ดูวิธีติดตั้งกันหน่อยละกัน ของเดิมๆ สำหรับคนทำเป็นแล้ว</p>
<p>1.) download sourcecode จาก <a href="http://python.org/ftp/python/3.1.2/Python-3.1.2.tgz" target="_blank">http://python.org/ftp/python/3.1.2/Python-3.1.2.tgz</a></p>
<p>2.) พิมพ์คำสั่ง</p>
<pre>./configure
make
make install</pre>
<p>ปล. ความแตกต่างของ python 3.0+  <a href="http://docs.python.org/py3k/whatsnew/3.0.html" target="_blank">คลิก</a></p>
<h3>เหล่า CPE24 ทั้งหลายจงเสพย์ python 3.1.2 นะเธอวววววว์</h3>
]]></content:encoded>
			<wfw:commentRss>http://www.klainfo.com/2010/07/11/%e0%b9%81%e0%b8%84%e0%b9%88-update-python-version-%e0%b8%88%e0%b8%b2%e0%b8%81-2-6-4-%e0%b9%84%e0%b8%9b-3-1-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>นับถอยหลัง Ubuntu 10.04</title>
		<link>http://www.klainfo.com/2010/04/10/%e0%b8%99%e0%b8%b1%e0%b8%9a%e0%b8%96%e0%b8%ad%e0%b8%a2%e0%b8%ab%e0%b8%a5%e0%b8%b1%e0%b8%87-ubuntu-10-04/</link>
		<comments>http://www.klainfo.com/2010/04/10/%e0%b8%99%e0%b8%b1%e0%b8%9a%e0%b8%96%e0%b8%ad%e0%b8%a2%e0%b8%ab%e0%b8%a5%e0%b8%b1%e0%b8%87-ubuntu-10-04/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 10:05:17 +0000</pubDate>
		<dc:creator>klainfo</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[countdown]]></category>
		<category><![CDATA[lucid]]></category>

		<guid isPermaLink="false">http://www.klainfo.com/?p=697</guid>
		<description><![CDATA[กิจกรรม Ubuntu Release party งานต้อนรับวันเกิดของ Ubuntu 10.04 Lucid Lynx เวลา/สถานที่ เสาร์ที่ 1 พ.ค. เวลา 14.00 &#8211; 18.30 โดยประมาณ สถานที่ S&#38;P สาขา สยามสแควร์ (ซอยศูนย์หนังสือจุฬา) ชั้น 2 เดินขึ้นไปเลย ประชาสัมพันธ์ให้กับ ชาว UbuntuClub นะครับ http://ubuntuclub.com/node/1907]]></description>
			<content:encoded><![CDATA[<p>กิจกรรม Ubuntu Release party งานต้อนรับวันเกิดของ Ubuntu 10.04 Lucid Lynx</p>
<p><strong>เวลา/สถานที่</strong></p>
<p>เสาร์ที่ 1 พ.ค. เวลา 14.00 &#8211; 18.30 โดยประมาณ<br />
สถานที่ S&amp;P สาขา สยามสแควร์ (ซอยศูนย์หนังสือจุฬา) ชั้น 2 เดินขึ้นไปเลย</p>
<p>ประชาสัมพันธ์ให้กับ ชาว UbuntuClub นะครับ  <a href="http://ubuntuclub.com/node/1907">http://ubuntuclub.com/node/1907</a></p>
<p style="text-align: center;"><a href="http://www.ubuntu.com/"><img class="aligncenter" src="http://www.ubuntu.com/files/countdown/static.png" border="0" alt="Ubuntu: For Desktops, Servers, Netbooks and in the cloud" width="180" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.klainfo.com/2010/04/10/%e0%b8%99%e0%b8%b1%e0%b8%9a%e0%b8%96%e0%b8%ad%e0%b8%a2%e0%b8%ab%e0%b8%a5%e0%b8%b1%e0%b8%87-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Apache] Create subdomain on localhost</title>
		<link>http://www.klainfo.com/2010/01/31/apache-create-subdomain-on-localhost/</link>
		<comments>http://www.klainfo.com/2010/01/31/apache-create-subdomain-on-localhost/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 18:15:53 +0000</pubDate>
		<dc:creator>klainfo</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[subdomain]]></category>

		<guid isPermaLink="false">http://blog.klainfo.com/?p=602</guid>
		<description><![CDATA[ปกติแล้ว คนที่ทำเวบ ก็สร้าง subdomain ผ่าน direct admin ง่ายมาก แต่ถ้าอยากลองบน localhost จะทำยังไงดีหละ นั่งหาๆเหมือนกัน เลยจดไว้ดีกว่า กันลืม ลองดูวิธีนี้ละกันนะ ง่ายดี สำหรับตัวอย่างนี้ สมมติว่าสร้าง subdomain ชื่อว่า sub โดยมีไดเรคทอรี่อยู่ที่ /var/www/sub เริ่มจาก $ sudo vi /etc/apache2/sites-enabled/000-default เติมข้อความนี้ลงไป ServerAdmin admin@localhost DocumentRoot /var/www/sub ServerName sub.localhost ตามด้วยคำสั่ง $ sudo vi /etc/hosts เติมข้อความนี้ลงไป 127.0.0.1 localhost 127.0.0.1 sub.localhost ลองทดสอบดู ถ้าไม่ได้ให้ restart apache service ก่อนครับ $ sudo /etc/init.d/apache2 restart [...]]]></description>
			<content:encoded><![CDATA[<p>ปกติแล้ว คนที่ทำเวบ ก็สร้าง subdomain ผ่าน direct admin ง่ายมาก แต่ถ้าอยากลองบน localhost จะทำยังไงดีหละ นั่งหาๆเหมือนกัน เลยจดไว้ดีกว่า กันลืม ลองดูวิธีนี้ละกันนะ ง่ายดี<br />
สำหรับตัวอย่างนี้ สมมติว่าสร้าง subdomain ชื่อว่า sub โดยมีไดเรคทอรี่อยู่ที่ /var/www/sub<br />
เริ่มจาก</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>sites-enabled<span style="color: #000000; font-weight: bold;">/</span>000-default</pre>
</div>
</div>
<p>เติมข้อความนี้ลงไป</p>
<pre>
ServerAdmin admin@localhost
DocumentRoot /var/www/sub
ServerName sub.localhost
</pre>
<p>ตามด้วยคำสั่ง</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hosts</pre>
</div>
</div>
<p>เติมข้อความนี้ลงไป</p>
<pre>
127.0.0.1    localhost
127.0.0.1    sub.localhost
</pre>
<p>ลองทดสอบดู ถ้าไม่ได้ให้ restart apache service ก่อนครับ</p>
<div class="wp_syntax">
<div class="code">
<pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</pre>
</div>
</div>
<p>เสร็จแล้วๆๆๆ อิอิ</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klainfo.com/2010/01/31/apache-create-subdomain-on-localhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>เนื้อหาวิชา Computer Architecture</title>
		<link>http://www.klainfo.com/2010/01/23/%e0%b9%80%e0%b8%99%e0%b8%b7%e0%b9%89%e0%b8%ad%e0%b8%ab%e0%b8%b2%e0%b8%a7%e0%b8%b4%e0%b8%8a%e0%b8%b2-computer-architecture/</link>
		<comments>http://www.klainfo.com/2010/01/23/%e0%b9%80%e0%b8%99%e0%b8%b7%e0%b9%89%e0%b8%ad%e0%b8%ab%e0%b8%b2%e0%b8%a7%e0%b8%b4%e0%b8%8a%e0%b8%b2-computer-architecture/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 05:25:39 +0000</pubDate>
		<dc:creator>klainfo</dc:creator>
				<category><![CDATA[CPE]]></category>
		<category><![CDATA[klainfo]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[comor]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.klainfo.com/?p=577</guid>
		<description><![CDATA[เนื่องจาก รศ.วรา วราวิทย์ ได้สรุปเนื้อหาวิชา Computer Architecture ได้ดีมาก คลิก และได้เผยแพร่เนื้อหาสู่อินเตอร์เนต แต่พบว่า ระบบการเข้ารหัสภาษาที่ใช้(TIS-620) ยังไม่แพร่หลาย และ Browser ส่วนใหญ่ ไม่สามารถ Auto-Detect ได้ ผมเลย ดูดมาทั้งเวบ แล้ว Convert Encoding จาก TIS-620 ให้เป็น UTF-8 ให้หมดครับ สามารถคลิกเปิดอ่านได้ที่ http://www.klainfo.com/comor ผมเลือกใช้คำสั่ง iconv ในระบบ Unix ครับ 1 2 3 4 5 for file in `ls *.html` do echo $file iconv -f TIS-620 -t UTF-8 $file &#62; [...]]]></description>
			<content:encoded><![CDATA[<p>เนื่องจาก รศ.วรา วราวิทย์ ได้สรุปเนื้อหาวิชา Computer Architecture ได้ดีมาก <a href="http://hpc.ee.kmutnb.ac.th/~vara/comor/">คลิก</a> และได้เผยแพร่เนื้อหาสู่อินเตอร์เนต แต่พบว่า ระบบการเข้ารหัสภาษาที่ใช้(TIS-620) ยังไม่แพร่หลาย และ Browser ส่วนใหญ่ ไม่สามารถ Auto-Detect ได้</p>
<p>ผมเลย ดูดมาทั้งเวบ แล้ว Convert Encoding จาก TIS-620 ให้เป็น UTF-8 ให้หมดครับ สามารถคลิกเปิดอ่านได้ที่ <a href="http://www.klainfo.com/comor">http://www.klainfo.com/comor</a></p>
<p>ผมเลือกใช้คำสั่ง iconv ในระบบ Unix ครับ</p>
<div class="wp_syntax">
<table>
<tr>
<td class="line_numbers">
<pre>1
2
3
4
5
</pre>
</td>
<td class="code">
<pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #000000; font-weight: bold;">*</span>.html<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">do</span>
    <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$file</span>
    iconv <span style="color: #660033;">-f</span> TIS-<span style="color: #000000;">620</span> <span style="color: #660033;">-t</span> UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">$file</span> <span style="color: #000000; font-weight: bold;">&gt;</span> ..<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$file</span>
<span style="color: #000000; font-weight: bold;">done</span></pre>
</td>
</tr>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.klainfo.com/2010/01/23/%e0%b9%80%e0%b8%99%e0%b8%b7%e0%b9%89%e0%b8%ad%e0%b8%ab%e0%b8%b2%e0%b8%a7%e0%b8%b4%e0%b8%8a%e0%b8%b2-computer-architecture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Ubuntu] Just one click to change ubuntu theme by epidermis</title>
		<link>http://www.klainfo.com/2010/01/05/ubuntu-just-one-click-to-change-ubuntu-theme-by-epidermis/</link>
		<comments>http://www.klainfo.com/2010/01/05/ubuntu-just-one-click-to-change-ubuntu-theme-by-epidermis/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 04:18:24 +0000</pubDate>
		<dc:creator>klainfo</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[epidermis]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.klainfo.com/?p=562</guid>
		<description><![CDATA[คลิกเดียวแค่นั้นแหละ เปลี่ยน Theme ได้แล้ว โดยปกติแล้ว กว่าจะได้ Theme สวยๆ ต้องเปลี่ยน Metacity, GTK, Icon, Wallpaper, GDM, Cursor, Splash etc. แต่โปรแกรม epidermis จะจัดการให้หมดเลยครับ ลองดู screen shot ได้ Official Site Download ทดลอง version 0.4.1 ได้ที่ http://launchpad.net/epidermis/0.x/0.4.1/+download/epidermis_0.4.1-0ubuntu0_all.deb]]></description>
			<content:encoded><![CDATA[<p>คลิกเดียวแค่นั้นแหละ เปลี่ยน Theme ได้แล้ว</p>
<p>โดยปกติแล้ว กว่าจะได้ Theme สวยๆ ต้องเปลี่ยน Metacity, GTK, Icon, Wallpaper, GDM, Cursor, Splash etc. แต่โปรแกรม epidermis จะจัดการให้หมดเลยครับ ลองดู screen shot ได้</p>
<p><a href="http://epidermis.tuxfamily.org/">Official Site</a></p>
<p>Download ทดลอง version 0.4.1 ได้ที่ <a href="http://launchpad.net/epidermis/0.x/0.4.1/+download/epidermis_0.4.1-0ubuntu0_all.deb">http://launchpad.net/epidermis/0.x/0.4.1/+download/epidermis_0.4.1-0ubuntu0_all.deb</a></p>
<p style="text-align: center;"><img class="aligncenter" title="Initial screen" src="http://epidermis.tuxfamily.org/sites/default/files/images/Screenshot.png" alt="" width="614" height="461" /></p>
<p style="text-align: center;"><img class="aligncenter" title="Initial screen" src="http://epidermis.tuxfamily.org/sites/default/files/images/Screenshot-1.png" alt="" width="614" height="461" /></p>
<p style="text-align: center;"><img class="aligncenter" title="Initial screen" src="http://epidermis.tuxfamily.org/sites/default/files/images/Screenshot-2.png" alt="" width="614" height="461" /></p>
<p style="text-align: center;"><img class="aligncenter" title="Initial screen" src="http://epidermis.tuxfamily.org/sites/default/files/images/Screenshot-3.png" alt="" width="614" height="461" /></p>
<p style="text-align: center;"><img class="aligncenter" title="Initial screen" src="http://epidermis.tuxfamily.org/sites/default/files/images/Screenshot-4.png" alt="" width="614" height="461" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.klainfo.com/2010/01/05/ubuntu-just-one-click-to-change-ubuntu-theme-by-epidermis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.klainfo.com @ 2012-02-08 06:23:26 -->
