<?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>Just My Life &#187; How to</title>
	<atom:link href="http://imrgill.com/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://imrgill.com</link>
	<description>I&#039;m mrGilL, I&#039;m Newbie Admin</description>
	<lastBuildDate>Mon, 19 Dec 2011 11:46:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>การติดตั้ง Notepad++ บน Ubuntu 11.10</title>
		<link>http://imrgill.com/2011/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-notepad-plus-plus-%e0%b8%9a%e0%b8%99-ubuntu-11-10.html</link>
		<comments>http://imrgill.com/2011/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-notepad-plus-plus-%e0%b8%9a%e0%b8%99-ubuntu-11-10.html#comments</comments>
		<pubDate>Sat, 15 Oct 2011 05:47:07 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Daily tips]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[notepad++]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=658</guid>
		<description><![CDATA[เมื่อวานเพิ่งติดตั้ง Ubuntu 11.10 สดร้อนๆ เลยครับ ก็พยายามติดตั้งโปรแกรมต่างๆ ให้เหมือนเดิม หนึ่งในนั้นคือ Notepad++ editor ที่น่าใช้ตัวนึง น่าเสียดายที่ตอนนี้ Notepad++ ยังไม่มี version ที่สามารถติดตั้งบน Linux ได้ แต่ก็ไม่ใช่ว่าจะไม่สามารถติดตั้งได้ซะทีเดียว เราสามารถติดตั้ง .exe ได้โดยใช้ความสามารถของ wine เข้ามาช่วย อย่างแรกคุณต้องติดตั้ง wine ก่อน sudo installl wine จากนั้นเข้าไป download Notepad++ จาก http://notepad-plus-plus.org/download/ โหลดเสร็จแล้วเปิด terminal ขึ้นมาครับ ผม save npp.5.9.4.Installer.exe ไว้ที่ ~/Downloads ก็ cd ไปที่ ~/Downloads save ไว้ที่ไหนก็เข้าไปที่นั้นแหละครับ cd ~/Downloads มาเริ่มติดตั้งกันเลยโดยใช้คำสั่ง wine npp.5.9.4.Installer.exe จากนั้นจะมี [...]]]></description>
			<content:encoded><![CDATA[<p>เมื่อวานเพิ่งติดตั้ง Ubuntu 11.10 สดร้อนๆ เลยครับ<br />
ก็พยายามติดตั้งโปรแกรมต่างๆ ให้เหมือนเดิม หนึ่งในนั้นคือ Notepad++ editor ที่น่าใช้ตัวนึง<br />
น่าเสียดายที่ตอนนี้ Notepad++ ยังไม่มี version ที่สามารถติดตั้งบน Linux ได้<br />
แต่ก็ไม่ใช่ว่าจะไม่สามารถติดตั้งได้ซะทีเดียว เราสามารถติดตั้ง .exe ได้โดยใช้ความสามารถของ wine เข้ามาช่วย<br />
อย่างแรกคุณต้องติดตั้ง wine ก่อน</p>
<pre>
<div class="codesnip-container" >sudo installl wine</div>
</pre>
<p>จากนั้นเข้าไป download Notepad++ จาก<a href="http://notepad-plus-plus.org/download/" title="Notepad++" target="_blank"> http://notepad-plus-plus.org/download/</a><br />
โหลดเสร็จแล้วเปิด terminal ขึ้นมาครับ ผม save npp.5.9.4.Installer.exe ไว้ที่ ~/Downloads ก็ cd ไปที่ ~/Downloads save ไว้ที่ไหนก็เข้าไปที่นั้นแหละครับ</p>
<pre>
<div class="codesnip-container" >cd ~/Downloads</div>
</pre>
<p>มาเริ่มติดตั้งกันเลยโดยใช้คำสั่ง</p>
<pre>
<div class="codesnip-container" >wine npp.5.9.4.Installer.exe</div>
</pre>
<p>จากนั้นจะมี Wizard ขี้นมาก็ next อย่างเดียวได้เลยครับ</p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2011/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-notepad-plus-plus-%e0%b8%9a%e0%b8%99-ubuntu-11-10.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การติดตั้ง Ultrasurf บน Ubuntu 10.04</title>
		<link>http://imrgill.com/2010/07/29/how-to-install-ultrasurf-on-ubuntu-10-04.html</link>
		<comments>http://imrgill.com/2010/07/29/how-to-install-ultrasurf-on-ubuntu-10-04.html#comments</comments>
		<pubDate>Thu, 29 Jul 2010 15:26:24 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Daily tips]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dll]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[ultrasurf]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=586</guid>
		<description><![CDATA[สวัสดีครับ ไม่ค่อยมีเวลา update blog สักเท่าไหร่ วันนี้ว่างๆ หลังเลิกงานก็เลยมาเขียนไรเล่นซะหน่อย ติดจากที่บริษัทผม block facebook/twitter ในช่วงเวลาทำงานปกติ จะเปิดอีกทีก็โน้นหลังห้าโมงเลย แต่ทำงานบางทีมันเครียดๆ อะนะครับ อยากจะไปดูรูปสาวๆ ให้มันชื่นหัวใจ ก็ต้องหาวิธีแหกกฎกันบ้าง ก็ต้องหาโปรแกรมมาช่วยโปรแกรมยอดฮิตใน Windows คงหนีไม่ได้ Ultrasurf ใน Linux ก็มีโปรแกรมที่ทำงานคล้าย Ultrasurf เหมือนกันชื่อ tor + privoxy แต่ค่อนข้าง config ลำบากนิดนึง วันนี้ผมเลยเอา Ultrasurf ที่รันบน Windows มารันบน Ubuntu ซะเลย โดยใช้โปรแกรม Wine เข้ามาช่วย เรามาดูขั้นตอนการทำกัน 0. ติดตั้งโปรแกรม wine โดยใช้คำสั่ง mrgill@mrgill-laptop:~$ sudo apt-get install wine 1. เข้าไปในเว็บ http://www.ultrareach.com/ [...]]]></description>
			<content:encoded><![CDATA[<p>สวัสดีครับ ไม่ค่อยมีเวลา update blog สักเท่าไหร่ วันนี้ว่างๆ หลังเลิกงานก็เลยมาเขียนไรเล่นซะหน่อย ติดจากที่บริษัทผม block facebook/twitter ในช่วงเวลาทำงานปกติ จะเปิดอีกทีก็โน้นหลังห้าโมงเลย แต่ทำงานบางทีมันเครียดๆ อะนะครับ อยากจะไปดูรูปสาวๆ ให้มันชื่นหัวใจ ก็ต้องหาวิธีแหกกฎกันบ้าง ก็ต้องหาโปรแกรมมาช่วยโปรแกรมยอดฮิตใน Windows คงหนีไม่ได้ Ultrasurf ใน Linux ก็มีโปรแกรมที่ทำงานคล้าย Ultrasurf เหมือนกันชื่อ tor + privoxy แต่ค่อนข้าง config ลำบากนิดนึง วันนี้ผมเลยเอา Ultrasurf ที่รันบน Windows มารันบน Ubuntu ซะเลย โดยใช้โปรแกรม Wine เข้ามาช่วย เรามาดูขั้นตอนการทำกัน</p>
<p>0. ติดตั้งโปรแกรม wine โดยใช้คำสั่ง</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">mrgill<span class="sy0">@</span>mrgill-laptop:~$ <span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> wine</div>
</div>
</pre>
<p>1. เข้าไปในเว็บ http://www.ultrareach.com/ จากนั้นดาวน์โหลด Ultrasurf มาโดยเวอร์ชันปัจจุบันคือ <a href="http://www.ultrareach.com/downloads/ultrasurf/u997.zip">Ultrasurf 9.97</a></p>
<p>2. เมื่อโหลดมาแล้วก็เอาไปแตกไว้ในที่เราชอบได้เลย ซึ่งเมื่อแตกไฟล์ zip ออกมาแล้วก็จะได้ไฟล์ u997.exe</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4088/4840757224_1f4bacde36.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4088/4840757224_1f4bacde36.jpg" alt="" width="358" height="239" /></a></p>
<p style="text-align: center;">เมื่อแตกไฟล์ zip ออกมาก็จะได้ไฟล์ u997.exe</p>
<p><span id="more-586"></span></p>
<p style="text-align: left;">3. กำหนดสิทธิ์ให้ไฟล์ u997.exe สามารถ execute ได้โดยคลิกขวาที่ไฟล์ u997.exe แล้วเลือก Properties &gt;&gt; Permission &gt;&gt; ให้ติ๊กที่ช่อง Allow executing file as program แล้วคลิกปุ่ม Close</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4133/4840757228_801191de17_b.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4133/4840757228_801191de17_b.jpg" alt="" width="539" height="416" /></a></p>
<p style="text-align: center;">ติ๊ก Allow executing file as program</p>
<p style="text-align: left;">4. เลือก Tab Open With เข้าไปเลือกโปรแกรม Wine Windows Program Loader</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4110/4841004156_56b6cb334b_b.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4110/4841004156_56b6cb334b_b.jpg" alt="" width="537" height="416" /></a></p>
<p style="text-align: center;">เลือก Wine Windows Program Loader</p>
<p style="text-align: left;">5. Ultrasurf จำเป็นต้องการไฟล์ mfc42.dll และ msvcp60.dll ซึ่งอยู่ใน %Systemroot%WINDOWS/System32 ของเครื่องที่มี Windows XP หรือดาวน์โหลดได้จาก<a href="http://imrgill.com/myfiles/ultrasurf_req_dll.tar.bz2">ที่นี่</a></p>
<p style="text-align: left;">6. เมื่อโหลดไฟล์ ultrasurf_req_dll.tar.bz2 มาแล้วก็แตกออกมาเลยครับ แล้วนำไฟล์ที mfc42.dll กับ msvcp60.dll ไปไว้ที่ ~/.wine/drive_c/windows/system32 โดยใช้คำสั่ง</p>
<pre>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">mrgill<span class="sy0">@</span>mrgill-laptop:~$ <span class="kw2">mv</span> <span class="sy0">*</span>.dll ~<span class="sy0">/</span>.wine<span class="sy0">/</span>drive_c<span class="sy0">/</span>windows<span class="sy0">/</span>system32<span class="sy0">/</span></div>
</div>
</pre>
<p style="text-align: left;">7. รันไฟล์ u997.exe โดยดับเบิลคลิกที่ u997.exe ได้เลย</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4087/4840757236_37be31979a.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4087/4840757236_37be31979a.jpg" alt="" width="360" height="261" /></a></p>
<p style="text-align: center;">หน้าตาโปรแกรม Ultrasurf ก็เหมือนๆ ใน Windows</p>
<p style="text-align: left;">8. ปรับแต่ง Option สักเล็กน้อยโดยคลิกที่ปุ่ม Option แล้วเข้าไปติ๊กที่ Do not use IE แล้วก็ OK</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4128/4840757238_f1c71411e3.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4128/4840757238_f1c71411e3.jpg" alt="" width="414" height="385" /></a></p>
<p style="text-align: center;">ติ๊กเลือก Do not use IE หากใครไม่ชอบให้มันแสดงรูปกุญแจสีทองก็ติ๊กเลือกที่ Hide Golden Lock ได้</p>
<p style="text-align: left;">9. โปรแกรม Ultrasurf เราก็พร้อมใช้งานแล้วที่เหลือก็เข้าไปตั้งค่าในโปรแกรม Firefox สักเล็กน้อยเพื่อให้ Firefox เราเข้าเว็บที่เค้า Block ไว้ได้โดยคลิกที่เมนู Edit &gt;&gt; Preferences &gt;&gt; Advanced &gt;&gt; Network &gt;&gt; Settings &gt;&gt; Manual proxy configuration</p>
<p style="text-align: center;"><a href="http://farm5.static.flickr.com/4085/4840149079_3c7786f8a0_b.jpg" rel="lightbox[586]"><img class="aligncenter" src="http://farm5.static.flickr.com/4085/4840149079_3c7786f8a0.jpg" alt="" width="500" height="313" /></a></p>
<p style="text-align: center;">ในช่อง HTTP Proxy กรอก localhost ส่วน Port กรอก 9666 ลงไป</p>
<p style="text-align: left;">10. เครื่องเราก็พร้อมเข้า Facebook กันแว้วววว</p>
<p style="text-align: left;">ต้องขอร้องสาวๆ แฟนคลับอย่ามาเม้นใน wall ผมเยอะนะ เดี่ยวหมี่เหลือง อิอิ</p>
<p style="text-align: left;">Enjoy with Ultrasurf <img src='http://imrgill.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/07/29/how-to-install-ultrasurf-on-ubuntu-10-04.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>วิธีจัดลำดับความสำคัญของ NIC บน Windows</title>
		<link>http://imrgill.com/2010/02/25/how-to-order-nic-priority-for-windows.html</link>
		<comments>http://imrgill.com/2010/02/25/how-to-order-nic-priority-for-windows.html#comments</comments>
		<pubDate>Thu, 25 Feb 2010 02:52:56 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[lan]]></category>
		<category><![CDATA[network interface card]]></category>
		<category><![CDATA[priority]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=557</guid>
		<description><![CDATA[หลายครั้งครับที่เจอเครื่องทั้ง PC หรือ Server ที่มีการ์ดแลนหลายใบ และมีการใช้งานทุกใบเซ็ตไอพีกันจนทำให้ออกเน็ตกันไม่ได้ก็มี เพราะแต่ละใบก็มีไอพีของตัวเอง แล้วเราจะกำหนดได้ไหมว่าจะใช้ใบไหนเป็นหลัก บทความนี้มีคำตอบครับ 1. ให้คุณคลิกเข้าไปที่ Network Connections ใน Control panel 2. ตรงเมนูบาเลือก Advanced จากนั้นเลือก Advanced Settings&#8230; 3. เราจะเห็นลิสของการ์ดแลนขึ้นมา ให้เราเปลี่ยนการ์ดแลนที่จะใช้เป็นหลักไปอยู่ข้างบนสุด โดยคลิกเลือกที่การ์ดแลนที่ต้องการจากนั้นคลิกลูกศรชี้ขึ้นสีเขียวด้านขวามือ 4. เสร็จละครับ แหล่งข้อมูลและภาพจาก : http://blog.ianbeyer.com/archives/76]]></description>
			<content:encoded><![CDATA[<p>หลายครั้งครับที่เจอเครื่องทั้ง PC หรือ Server ที่มีการ์ดแลนหลายใบ และมีการใช้งานทุกใบเซ็ตไอพีกันจนทำให้ออกเน็ตกันไม่ได้ก็มี เพราะแต่ละใบก็มีไอพีของตัวเอง แล้วเราจะกำหนดได้ไหมว่าจะใช้ใบไหนเป็นหลัก บทความนี้มีคำตอบครับ</p>
<p>1. ให้คุณคลิกเข้าไปที่ Network Connections ใน Control panel</p>
<p style="text-align: center;"><a href="http://blog.ianbeyer.com/files/2008/10/networkproperties.png" rel="lightbox[557]"><img class="aligncenter" src="http://blog.ianbeyer.com/files/2008/10/networkproperties.png" alt="" width="559" height="420" /></a><span id="more-557"></span></p>
<p>2. ตรงเมนูบาเลือก Advanced จากนั้นเลือก Advanced Settings&#8230;</p>
<p style="text-align: center;"><a href="http://blog.ianbeyer.com/files/2008/10/advanced.png" rel="lightbox[557]"><img class="aligncenter" src="http://blog.ianbeyer.com/files/2008/10/advanced.png" alt="" width="404" height="455" /></a></p>
<p>3. เราจะเห็นลิสของการ์ดแลนขึ้นมา ให้เราเปลี่ยนการ์ดแลนที่จะใช้เป็นหลักไปอยู่ข้างบนสุด โดยคลิกเลือกที่การ์ดแลนที่ต้องการจากนั้นคลิกลูกศรชี้ขึ้นสีเขียวด้านขวามือ</p>
<p style="text-align: center;"><a href="http://blog.ianbeyer.com/files/2008/10/advanced2.png" rel="lightbox[557]"><img class="aligncenter" src="http://blog.ianbeyer.com/files/2008/10/advanced2.png" alt="" width="404" height="455" /></a></p>
<p style="text-align: left;">4. เสร็จละครับ</p>
<p style="text-align: left;">แหล่งข้อมูลและภาพจาก : <a href="http://blog.ianbeyer.com/archives/76" target="_blank">http://blog.ianbeyer.com/archives/76</a></p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/02/25/how-to-order-nic-priority-for-windows.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>วิธีติดตั้ง NOD32 สำหรับ Linux Desktop</title>
		<link>http://imrgill.com/2010/01/13/how-to-install-nod32-for-linux-desktop.html</link>
		<comments>http://imrgill.com/2010/01/13/how-to-install-nod32-for-linux-desktop.html#comments</comments>
		<pubDate>Wed, 13 Jan 2010 06:28:01 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[nod32]]></category>
		<category><![CDATA[wizard]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=526</guid>
		<description><![CDATA[สวัสดีครับเมื่อปีก่อนผมเขียนวิธีการติดตั้ง Avast Antivirus ไปวันนี้เอาวิธีการติดตั้ง Nod32 for linux desktop beta มาฝากบ้าง ผมติดตั้งบน Ubuntu 9.10 Desktop นะครับ ขอเริ่มเลยละกัน 1. เข้าไป download nod32 for linux desktop จาก http://beta.eset.com/linux 2. ดาวน์โหลดแล้วก็จะได้ไฟล์ ueav.i386.linux มาครับ จากนั้นกำหนดสิทธิ์ให้ไฟล์ดังกล่าวสามารถรันได้ โดย mrgill@mrgill-laptop:~$ chmod +x ueav.i386.linux 3. รันไฟล์ ueav.i386.linux mrgill@mrgill-laptop:~$ ./ueav.i386.linux 4. จะมีหน้าต่าง Wizard ขึ้นมา ก็ติดตั้งโดยใช้ Step Next and Next ได้เลยครับ หน้าจอ Welcome กด Next หน้าจอ [...]]]></description>
			<content:encoded><![CDATA[<p>สวัสดีครับเมื่อปีก่อนผมเขียนวิธีการ<a href="http://imrgill.com/2009/10/22/avast-antivirus-for-linux/" target="_blank">ติดตั้ง Avast Antivirus</a> ไปวันนี้เอาวิธีการติดตั้ง Nod32 for linux desktop beta มาฝากบ้าง ผมติดตั้งบน Ubuntu 9.10 Desktop นะครับ</p>
<p>ขอเริ่มเลยละกัน</p>
<p>1. เข้าไป download nod32 for linux desktop จาก <a href="http://beta.eset.com/linux" target="_blank">http://beta.eset.com/linux</a></p>
<p>2. ดาวน์โหลดแล้วก็จะได้ไฟล์ ueav.i386.linux มาครับ จากนั้นกำหนดสิทธิ์ให้ไฟล์ดังกล่าวสามารถรันได้ โดย</p>
<pre>
<div class="codesnip-container" >mrgill@mrgill-laptop:~$ chmod +x ueav.i386.linux</div>
</pre>
<p>3. รันไฟล์ ueav.i386.linux</p>
<pre>
<div class="codesnip-container" >mrgill@mrgill-laptop:~$ ./ueav.i386.linux</div>
</pre>
<p><span id="more-526"></span><br />
4. จะมีหน้าต่าง Wizard ขึ้นมา ก็ติดตั้งโดยใช้ Step Next and Next ได้เลยครับ</p>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4270234639/"><img class="alignnone" title="linux_nod32_01" src="http://farm3.static.flickr.com/2777/4270234639_9537c0b685.jpg" alt="linux_nod32_01" width="500" height="356" /></a></p>
<p class="wp-caption-text">หน้าจอ Welcome กด Next</p>
</div>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4270234647/"><img title="linux_nod32_02" src="http://farm5.static.flickr.com/4033/4270234647_40a73a325e.jpg" alt="linux_nod32_02" width="500" height="356" /></a></p>
<p class="wp-caption-text">หน้าจอ License Agreement เลือก I accept แล้วกด Next</p>
</div>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4270234649/"><img title="linux_nod32_03" src="http://farm3.static.flickr.com/2786/4270234649_ba033eaee2.jpg" alt="linux_nod32_03" width="500" height="355" /></a></p>
<p class="wp-caption-text">หน้าจอ Install Mode เลือก Typical แล้วกด Next</p>
</div>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4270234651/"><img title="linux_nod32_04" src="http://farm5.static.flickr.com/4056/4270234651_780b9e9f0e.jpg" alt="linux_nod32_04" width="500" height="356" /></a></p>
<p class="wp-caption-text">หน้าจอ Update กด Next</p>
</div>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4270234653/"><img title="linux_nod32_05" src="http://farm5.static.flickr.com/4017/4270234653_e66d2cb7f8.jpg" alt="linux_nod32_05" width="500" height="356" /></a></p>
<p class="wp-caption-text">หน้าจอตั้งค่า Proxy Server กด Next</p>
</div>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4270238853/"><img title="linux_nod32_07" src="http://farm3.static.flickr.com/2696/4270238853_d27cd1f989.jpg" alt="linux_nod32_07" width="500" height="356" /></a></p>
<p class="wp-caption-text">หน้าจอ Special Applications เลือก Enable แล้วกด Next</p>
</div>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4270238855/"><img title="linux_nod32_08" src="http://farm5.static.flickr.com/4071/4270238855_143189444d.jpg" alt="linux_nod32_08" width="500" height="356" /></a></p>
<p class="wp-caption-text">หน้าจอ Ready to install กด Install</p>
</div>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4270238859/"><img title="linux_nod32_09" src="http://farm3.static.flickr.com/2785/4270238859_755c97ef46.jpg" alt="linux_nod32_09" width="500" height="356" /></a></p>
<p class="wp-caption-text">หน้าจอ Installing รอจนครบ 100%</p>
</div>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4270238861/"><img title="linux_nod32_10" src="http://farm3.static.flickr.com/2764/4270238861_30e07d0b10.jpg" alt="linux_nod32_10" width="500" height="356" /></a></p>
<p class="wp-caption-text">หน้าจอ Summary กด Finish</p>
</div>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4270238865/"><img title="linux_nod32_11" src="http://farm5.static.flickr.com/4038/4270238865_0fc933ccf8.jpg" alt="linux_nod32_11" width="500" height="336" /></a></p>
<p class="wp-caption-text" style="text-align: center;">ติดตั้งเสร็จแล้วเรียกใช้งาน Nod32 โดยคลิก Application &gt;&gt; System Tools &gt;&gt; ESET NOD32 Antivirus</p>
</div>
<div class="wp-caption aligncenter" style="width: 420px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4271045384/"><img title="linux_nod32_13" src="http://farm3.static.flickr.com/2501/4271045384_12092d87a8.jpg" alt="linux_nod32_13" width="410" height="26" /></a></p>
<p class="wp-caption-text">จะมี Icon NOD32 ขึ้นที่บริเวร Notification Area บน Panel</p>
</div>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4271045380/"><img title="linux_nod32_12" src="http://farm5.static.flickr.com/4013/4271045380_36af01b906.jpg" alt="linux_nod32_12" width="500" height="283" /></a></p>
<p class="wp-caption-text">หน้าจอหลักของ NOD32</p>
</div>
<div class="wp-caption aligncenter" style="width: 510px; text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4271065358/"><img title="linux_nod32_14" src="http://farm5.static.flickr.com/4005/4271065358_1e69a9ab7e.jpg" alt="linux_nod32_14" width="500" height="281" /></a></p>
<p class="wp-caption-text" style="text-align: center;">หน้าจอ Mode การแสกน</p>
</div>
<p>ก็ลองเอาไปใช้กันดูครับ หวังว่าคงมีประโยชน์กับผู้อ่าน</p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2010/01/13/how-to-install-nod32-for-linux-desktop.html/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>#หื่น : ดูวิว Yahoo บน Ubuntu ด้วย Gyachi (GyachE Imprived)</title>
		<link>http://imrgill.com/2009/11/26/how-to-install-gyachi-yahoo-messenger-on-ubuntu.html</link>
		<comments>http://imrgill.com/2009/11/26/how-to-install-gyachi-yahoo-messenger-on-ubuntu.html#comments</comments>
		<pubDate>Thu, 26 Nov 2009 12:11:38 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[gyachi]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[im]]></category>
		<category><![CDATA[instant messenger]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=377</guid>
		<description><![CDATA[โปรแกรมสำหรับ Chat Yahoo บน Ubuntu มีมากมายครับไม่ว่า Pidgin หรือ Empathy ก็สามารถใช้เล่นแทน Yahoo messenger ได้ทั้งนั้นแต่ถ้าจะใช้ Webcam ด้วยค่อนข้างจะหายาก ตัว yahoo สำหรับ linux เองก็เหมือนจะหยุดพัฒนาไปนานแล้ว วันนี้ผมเลยเอาโปรแกรม Gyachi มาแนะนำครับ รายละเอียดของโปรแกรมสามารถเข้าไปดูได้ที่ http://gyachi.sourceforge.net/ มาดูการติดตั้งบน ubuntu กันครับ ขั้นแรกเข้าไปดาวน์โหลดตัว gyachi ที่เป็น .deb ได้ที่ https://launchpad.net/~loell/+archive/ppa/+packages ผมใช้ karmic นะครับ ก็คลิกที่ gyachi &#8211; 1.2.2-2~karmic จากนั้นเราก็จะเห็นลิงค์ให้ดาวน์โหลดครับ gyachi_1.2.2-2~karmic_i386.deb ก็คลิกได้เลยไม่ต้องรอช้า โหลดมาแล้วก็ดับเบิลคลิก install ได้เลยครับ หรือจะใช้คำสั่งด้านล่างก็ได้ root@mrgill-laptop:~# dpkg -i gyachi_1.2.2-2~karmic_i386.deb Selecting previously deselected [...]]]></description>
			<content:encoded><![CDATA[<p>โปรแกรมสำหรับ Chat Yahoo บน Ubuntu มีมากมายครับไม่ว่า Pidgin หรือ Empathy ก็สามารถใช้เล่นแทน Yahoo messenger ได้ทั้งนั้นแต่ถ้าจะใช้ Webcam ด้วยค่อนข้างจะหายาก ตัว yahoo สำหรับ linux เองก็เหมือนจะหยุดพัฒนาไปนานแล้ว วันนี้ผมเลยเอาโปรแกรม Gyachi มาแนะนำครับ รายละเอียดของโปรแกรมสามารถเข้าไปดูได้ที่ <a href="http://gyachi.sourceforge.net/">http://gyachi.sourceforge.net/</a><strong> </strong></p>
<p><strong>มาดูการติดตั้งบน ubuntu กันครับ</strong><br />
ขั้นแรกเข้าไปดาวน์โหลดตัว gyachi ที่เป็น .deb ได้ที่ <a href="https://launchpad.net/~loell/+archive/ppa/+packages">https://launchpad.net/~loell/+archive/ppa/+packages</a> ผมใช้ karmic นะครับ ก็คลิกที่ gyachi &#8211; 1.2.2-2~karmic จากนั้นเราก็จะเห็นลิงค์ให้ดาวน์โหลดครับ <a href="https://launchpad.net/%7Eloell/+archive/ppa/+files/gyachi_1.2.2-2%7Ekarmic_i386.deb">gyachi_1.2.2-2~karmic_i386.deb</a> ก็คลิกได้เลยไม่ต้องรอช้า</p>
<p>โหลดมาแล้วก็ดับเบิลคลิก install ได้เลยครับ หรือจะใช้คำสั่งด้านล่างก็ได้</p>
<pre>
<div class="codesnip-container" >root@mrgill-laptop:~# <span style="color: #ff0000;">dpkg -i gyachi_1.2.2-2~karmic_i386.deb</span>
Selecting previously deselected package gyachi.
(Reading database ... 179356 files and directories currently installed.)
Unpacking gyachi (from gyachi_1.2.2-2~karmic_i386.deb) ...
Setting up gyachi (1.2.2-2~karmic) ...
Processing triggers for desktop-file-utils ...
Processing triggers for doc-base ...
Processing 1 added doc-base file(s)...
Registering documents with scrollkeeper...</div>
</pre>
<p><span id="more-377"></span><br />
ติดตั้งเสร็จแล้วก็มาใช้งานกันเลยคลิกที่ Applications &gt;&gt; Internet &gt;&gt; GYachE Improved</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2512/4135129475_6e24b3d294_o.png" alt="" width="510" height="440" />เมนู GYachE Improved</p>
<p style="text-align: left;">เมื่อคลิกแล้วก็จะมีหน้าจอให้เรา login</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4135129477/sizes/o/"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2796/4135129477_e5c3e5f40a_o.png" alt="" width="481" height="373" /></a>หน้าจอ login</p>
<p style="text-align: left;">ตรงนี้กรอก username ของ yahoo โดยที่ไม่ต้องใส่ @yahoo.com นะครับ จากนั้นก็กรอก password ลงไป ส่วน server ใช้ค่าที่โปรแกรมตั้งมาให้ได้เลยครับ กรอกข้อมูลเสร็จแล้วก็คลิกที่ Login ได้เลย</p>
<p style="text-align: left;">ล็อกอินเสร็จแล้วอยากคุยกับเพื่อนก็คลิกที่ Buddies ได้เลยครับ หากใครเคย add เพื่อนไว้ก็จะเป็น list ว่าใคร online อยู่บ้าง</p>
<p style="text-align: left;">มาถึงเรื่อง Webcam กันบ้าง การใช้งานก็คล้ายๆ กับ Yahoo messenger บน Windows ครับ หากต้องการเปิดกล้องของเราให้คนอื่นดูก็คลิกที่เมนู Action &gt;&gt; Start My Webcam</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2517/4135144189_b73a33b89e_o.png" alt="" width="394" height="419" />Start My Webcam</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2759/4135129479_965f4827e1_o.png" alt="" width="535" height="468" />ภาพจากกล้อง Webcam</p>
<p style="text-align: left;">หากต้องการดูกล้องของคนอื่นก็คลิกที่ Action &gt;&gt; View Webcam จากนั้นก็เอาไอดีของ(สาววิว)คนที่ต้องการจะดู มาใส่แล้วกด OK ได้เลยครับ</p>
<p style="text-align: left;">หวังว่าคงมีประโยชน์กับหาวิวทั้งหลาย อิอิ</p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2009/11/26/how-to-install-gyachi-yahoo-messenger-on-ubuntu.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>#หื่น : อยากดู Clip บน Ubuntu ทำไง?</title>
		<link>http://imrgill.com/2009/11/13/how-to-install-real-player-11-on-ubuntu.html</link>
		<comments>http://imrgill.com/2009/11/13/how-to-install-real-player-11-on-ubuntu.html#comments</comments>
		<pubDate>Fri, 13 Nov 2009 13:09:17 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[3gp]]></category>
		<category><![CDATA[clip]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[realplayer]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=369</guid>
		<description><![CDATA[ไม่ต้องพูดมากครับอยากดูไฟล์ .3gp ทำไง ก็โหลดตัว Real Player มาลงเลยครับ โดยเข้าไปที่ http://www.real.com/linux คลิก Download RealPlayer โลดครับ จะได้ไฟล์ RealPlayer11GOLD.bin มา(ผม save ไว้ที่ Desktop) ขั้นตอนการติดตั้ง 1. เปิด Terminal ขึ้นมา (เมนู Applications &#62;&#62; Accessories &#62;&#62; Terminal) 2. เปลี่ยนตำแหน่ง Directory ไปที่ Desktop mrgill@mrgill-laptop:~$ cd Desktop/ mrgill@mrgill-laptop:~/Desktop$ ls RealPlayer11GOLD.bin 3. กำหนด Permission ไฟล์ให้สามารถรันได้ mrgill@mrgill-laptop:~/Desktop$ chmod +x RealPlayer11GOLD.bin 4. แล้วก็มาติดตั้งกันเลย mrgill@mrgill-laptop:~/Desktop$ sudo ./RealPlayer11GOLD.bin [sudo] [...]]]></description>
			<content:encoded><![CDATA[<p>ไม่ต้องพูดมากครับอยากดูไฟล์ .3gp ทำไง ก็โหลดตัว Real Player มาลงเลยครับ<br />
โดยเข้าไปที่ <a href="http://www.real.com/linux">http://www.real.com/linux</a> คลิก <a href="http://www.real.com/realcom/R?href=http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.bin" target="_blank">Download RealPlayer</a> โลดครับ จะได้ไฟล์ RealPlayer11GOLD.bin มา(ผม save ไว้ที่ Desktop)</p>
<p>ขั้นตอนการติดตั้ง</p>
<p>1. เปิด Terminal ขึ้นมา (เมนู Applications &gt;&gt; Accessories &gt;&gt; Terminal)<br />
2. เปลี่ยนตำแหน่ง Directory ไปที่ Desktop</p>
<pre>
<div class="codesnip-container" >mrgill@mrgill-laptop:~$ cd Desktop/
mrgill@mrgill-laptop:~/Desktop$ ls
RealPlayer11GOLD.bin</div>
</pre>
<p><span id="more-369"></span></p>
<p>3. กำหนด Permission ไฟล์ให้สามารถรันได้</p>
<pre>
<div class="codesnip-container" >mrgill@mrgill-laptop:~/Desktop$ chmod +x RealPlayer11GOLD.bin</div>
</pre>
<p>4. แล้วก็มาติดตั้งกันเลย</p>
<pre>
<div class="codesnip-container" >mrgill@mrgill-laptop:~/Desktop$ sudo ./RealPlayer11GOLD.bin
[sudo] password for mrgill:
Extracting files for Helix installation........................

Welcome to the RealPlayer (11.0.2.1744) Setup for UNIX
Setup will help you get RealPlayer running on your computer.
Press [Enter] to continue...
Enter the complete path to the directory where you want
RealPlayer to be installed.  You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory:  [/opt/real/RealPlayer]: 

You have selected the following RealPlayer configuration:

Destination:            /opt/real/RealPlayer

Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]: 

Copying RealPlayer files...Path setup done.
Succeeded.
installing application icons resource...
installing document icons resource...
............Succeeded.
.Configuring Mozilla...
Installing .mo locale files...
.Setting selinux context...
Succeeded.

RealPlayer installation is complete.
Cleaning up installation files...
Done.</div>
</pre>
<p>เรียกใช้งานโปรแกรม RealPlayer จากเมนู Applications &gt;&gt; Sound &amp; Video &gt;&gt; RealPlayer 11<br />
หน้าตา RealPlayer บน Ubuntu</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" title="RealPlayer11" src="http://farm3.static.flickr.com/2618/4100670076_7c34c1bab2_o.png" alt="" width="322" height="357" /></p>
<p style="text-align: center;">RealPlayer 11</p>
<p>เรียบร้อยครับ</p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2009/11/13/how-to-install-real-player-11-on-ubuntu.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>จะเอา /var/lib/mysql บน Ubuntu ไปไว้ที่อื่นทำอย่างไร</title>
		<link>http://imrgill.com/2009/11/09/how-to-move-mysql-data-folder-to-another-path.html</link>
		<comments>http://imrgill.com/2009/11/09/how-to-move-mysql-data-folder-to-another-path.html#comments</comments>
		<pubDate>Mon, 09 Nov 2009 07:57:58 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=332</guid>
		<description><![CDATA[ต้องการเอา /var/lib/mysql ไปไว้ที่อื่นครับเพราะกลัวเวลาเครื่องมีปัญหาอาจทำให้ข้อมูลหายได้เพราะ /var/lib/mysql อยู่ใน / เลย(ไม่ได้แบ่ง partition แยกออกมา) วิธีแรกที่ผมทำเลยคือ root@ubuntu:~# mv /var/lib/mysql /data/mysql root@ubuntu:~# ln -s /data/mysql /var/lib/mysql ก็คือ move จาก /var/lib/mysql ไปไว้ที่ /data/mysql ผลคือตอน restart mysql มันจะฟ้องว่า root@ubuntu:~# /etc/init.d/mysql restart * Stopping MySQL database server mysqld [ OK ] * Starting MySQL database server mysqld [fail] ไปใน /var/log/syslog ก็เจอ error ประมาณนี้ แล้วจะทำไงดี root@ubuntu:~# [...]]]></description>
			<content:encoded><![CDATA[<p>ต้องการเอา /var/lib/mysql ไปไว้ที่อื่นครับเพราะกลัวเวลาเครื่องมีปัญหาอาจทำให้ข้อมูลหายได้เพราะ /var/lib/mysql อยู่ใน / เลย(ไม่ได้แบ่ง partition แยกออกมา) วิธีแรกที่ผมทำเลยคือ</p>
<pre>
<div class="codesnip-container" >root@ubuntu:~# mv /var/lib/mysql /data/mysql
root@ubuntu:~# ln -s /data/mysql /var/lib/mysql</div>
</pre>
<p>ก็คือ move จาก /var/lib/mysql ไปไว้ที่ /data/mysql ผลคือตอน restart mysql มันจะฟ้องว่า</p>
<pre>
<div class="codesnip-container" >root@ubuntu:~# /etc/init.d/mysql restart
* Stopping MySQL database server mysqld                                 [ OK ]
* Starting MySQL database server mysqld                                 [fail]</div>
</pre>
<p>ไปใน /var/log/syslog ก็เจอ error ประมาณนี้ แล้วจะทำไงดี</p>
<pre>
<div class="codesnip-container" >root@ubuntu:~# tail -f /var/log/syslog
Nov  9 02:36:29 ubuntu kernel: [ 2394.732730] type=1503 audit(1257752189.048:131): operation="open" pid=5484 parent=5483 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
Nov  9 02:36:30 ubuntu kernel: [ 2395.745479] type=1503 audit(1257752190.061:132): operation="open" pid=5494 parent=5493 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
Nov  9 02:36:31 ubuntu kernel: [ 2396.761345] type=1503 audit(1257752191.080:133): operation="open" pid=5504 parent=5503 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
Nov  9 02:36:31 ubuntu kernel: [ 2396.774493] type=1503 audit(1257752191.092:134): operation="open" pid=5513 parent=5512 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
Nov  9 02:36:31 ubuntu /etc/init.d/mysql[5520]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Nov  9 02:36:31 ubuntu /etc/init.d/mysql[5520]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed
Nov  9 02:36:31 ubuntu /etc/init.d/mysql[5520]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Nov  9 02:36:31 ubuntu /etc/init.d/mysql[5520]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!</div>
</pre>
<p><span id="more-332"></span><br />
ผมไปเจอคำตอบที่นี่ครับ<br />
<a href="http://forums.mysql.com/read.php?24,211657,225700#msg-225700">http://forums.mysql.com/read.php?24,211657,225700#msg-225700</a><br />
เขาบอกว่าให้เข้าไปแก้ไฟล์ /etc/apparmor.d/usr.sbin.mysqld ผมก็จัดไป</p>
<pre>
<div class="codesnip-container" >root@ubuntu:~# /etc/apparmor.d/usr.sbin.mysqld</div>
</pre>
<p>โดยเปลี่ยนจาก</p>
<pre>
<div class="codesnip-container" ># vim:syntax=apparmor
# Last Modified: Tue Jun 19 17:37:30 2007
#include 

/usr/sbin/mysqld {
  #include
  #include
  #include
  #include
  #include 

  capability dac_override,
  capability sys_resource,
  capability setgid,
  capability setuid,

  network tcp,

  /etc/hosts.allow r,
  /etc/hosts.deny r,

  /etc/mysql/*.pem r,
  /etc/mysql/conf.d/ r,
  /etc/mysql/conf.d/* r,
  /etc/mysql/my.cnf r,
  /usr/sbin/mysqld mr,
  /usr/share/mysql/** r,
  /var/log/mysql.log rw,
  /var/log/mysql.err rw,
<span style="color: #ff0000;">  /var/lib/mysql/ r,
  /var/lib/mysql/** rwk,</span>
  /var/log/mysql/ r,
  /var/log/mysql/* rw,
  /var/run/mysqld/mysqld.pid w,
  /var/run/mysqld/mysqld.sock w,
}</div>
</pre>
<p>ให้เปลี่ยนเป็น</p>
<pre>
<div class="codesnip-container" ># vim:syntax=apparmor
# Last Modified: Tue Jun 19 17:37:30 2007
#include 

/usr/sbin/mysqld {
  #include
  #include
  #include
  #include
  #include 

  capability dac_override,
  capability sys_resource,
  capability setgid,
  capability setuid,

  network tcp,

  /etc/hosts.allow r,
  /etc/hosts.deny r,

  /etc/mysql/*.pem r,
  /etc/mysql/conf.d/ r,
  /etc/mysql/conf.d/* r,
  /etc/mysql/my.cnf r,
  /usr/sbin/mysqld mr,
  /usr/share/mysql/** r,
  /var/log/mysql.log rw,
  /var/log/mysql.err rw,
<span style="color: #ff0000;">  /data/mysql/ r,
  /data/mysql/** rwk,</span>
  /var/log/mysql/ r,
  /var/log/mysql/* rw,
  /var/run/mysqld/mysqld.pid w,
  /var/run/mysqld/mysqld.sock w,
}</div>
</pre>
<p>แต่อย่าเพิ่งลบ Symbolic Link นะครับยังจำเป็นต้องใช้<br />
จากนั้นก็สั่ง Restart Apparmor โดย</p>
<pre>
<div class="codesnip-container" >root@ubuntu:~# /etc/init.d/apparmor restart</div>
</pre>
<p>จากนั้นลองสั่ง Restart Mysql อีกครั้ง</p>
<pre>
<div class="codesnip-container" >root@ubuntu:~# /etc/init.d/mysql restart
 * Stopping MySQL database server mysqld                                [ OK ]
 * Starting MySQL database server mysqld                                [ OK ]
 * Checking for corrupt, not cleanly closed and upgrade needing tables.</div>
</pre>
<p>ก็คงจบแต่เพียงเท่านี้</p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2009/11/09/how-to-move-mysql-data-folder-to-another-path.html/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>จะเข้า Recovery Mode บน Ubuntu 9.10 Karmic Koala ยังไง</title>
		<link>http://imrgill.com/2009/11/09/how-to-ubuntu-910-boot-as-recovery-mode.html</link>
		<comments>http://imrgill.com/2009/11/09/how-to-ubuntu-910-boot-as-recovery-mode.html#comments</comments>
		<pubDate>Mon, 09 Nov 2009 00:13:00 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[grub2]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[recovery]]></category>
		<category><![CDATA[rescue]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=323</guid>
		<description><![CDATA[สวัสดีตอนเช้าครับ ฮาๆ ยังไม่ได้นอนเลย เมื่อคืนนั่งลง Ubuntu Server ให้เพื่อนทั้งคืนจนถึงเช้า นั่งทำให้ Ubuntu Server หน้าตาเหมือน Ubuntu Desktop วิธีการก็ง่ายๆ ครับ $ sudo apt-get install ubuntu-desktop ก็ลงไว้ให้เพื่อนมันใช้งานง่ายๆ ครับ ลงไปลงมามีปัญหาจำเป็นต้องเข้า Recovery Mode เอ๊ะแต่เจ้า 9.10 นี่มันเข้า Boot Menu ของ Grub2 ยังไงหวา ปกติมันวิ่งๆ แล้วก็เข้าหน้า login เลย กด Esc เหมือน 9.04 แล้วก็ยังเข้าไม่ได้ ก็ลอง Search ใน Google ดูก็พบคำตอบครับคือต้องกด Shift ค้างไว้ตอน Boot มันก็จะแสดงหน้าเมนูของ Grub2 มาให้เลือกนั้นเอง]]></description>
			<content:encoded><![CDATA[<p>สวัสดีตอนเช้าครับ ฮาๆ ยังไม่ได้นอนเลย เมื่อคืนนั่งลง Ubuntu Server ให้เพื่อนทั้งคืนจนถึงเช้า นั่งทำให้ Ubuntu Server หน้าตาเหมือน Ubuntu Desktop วิธีการก็ง่ายๆ ครับ</p>
<pre>
<div class="codesnip-container" >$ sudo apt-get install ubuntu-desktop</div>
</pre>
<p>ก็ลงไว้ให้เพื่อนมันใช้งานง่ายๆ ครับ ลงไปลงมามีปัญหาจำเป็นต้องเข้า Recovery Mode เอ๊ะแต่เจ้า 9.10 นี่มันเข้า Boot Menu ของ Grub2 ยังไงหวา ปกติมันวิ่งๆ แล้วก็เข้าหน้า login เลย กด Esc เหมือน 9.04 แล้วก็ยังเข้าไม่ได้ ก็ลอง Search ใน Google ดูก็พบคำตอบครับคือต้องกด <strong><em>Shift</em></strong> ค้างไว้ตอน Boot มันก็จะแสดงหน้าเมนูของ Grub2 มาให้เลือกนั้นเอง</p>
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2009/11/09/how-to-ubuntu-910-boot-as-recovery-mode.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ติดตั้ง FileZilla FTP Client บน Ubuntu</title>
		<link>http://imrgill.com/2009/11/04/how-to-install-filezilla-ftp-client-on-ubuntu.html</link>
		<comments>http://imrgill.com/2009/11/04/how-to-install-filezilla-ftp-client-on-ubuntu.html#comments</comments>
		<pubDate>Tue, 03 Nov 2009 17:23:32 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[filezilla]]></category>
		<category><![CDATA[ftp client]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=311</guid>
		<description><![CDATA[เพิ่งเปิดเว็บได้ไม่นานครับ plugin สำหรับ wordpress ยังไม่ลงตัว บางทีก็ต้องนั่งแก้โน้นนี่บ้าง จะแก้ไขหรือ upload อะไรทีก็ต้องใช้ FTP ซึ่งตัว FTP Client ที่ผมใช้คือ Filezilla ครับ ติดตั้งง่าย ใช้งานง่าย แถมฟรีอีกด้วย การติดตั้งก็ง่ายอย่างที่บอกไว้ครับแค่ $ sudo apt-get install filezilla ติดตั้งแล้วเรียกโปรแกรม Filezilla โดยคลิกที่เมนู Applications &#62;&#62; Internet &#62;&#62; FileZilla การเรียกโปรแกรม FileZilla หน้าตาโปรแกรม FileZilla หน้าจอหลัก FileZilla Drag and Drop ได้เหมือนโปรแกรม FTP ทั่วไปได้เลยครับ ลองทำไปใช้กันดู]]></description>
			<content:encoded><![CDATA[<p>เพิ่งเปิดเว็บได้ไม่นานครับ plugin สำหรับ wordpress ยังไม่ลงตัว บางทีก็ต้องนั่งแก้โน้นนี่บ้าง จะแก้ไขหรือ upload อะไรทีก็ต้องใช้ FTP ซึ่งตัว FTP Client ที่ผมใช้คือ Filezilla ครับ ติดตั้งง่าย ใช้งานง่าย แถมฟรีอีกด้วย</p>
<p>การติดตั้งก็ง่ายอย่างที่บอกไว้ครับแค่</p>
<pre>
<div class="codesnip-container" >$ sudo apt-get install filezilla</div>
</pre>
<p style="text-align: left;">ติดตั้งแล้วเรียกโปรแกรม Filezilla โดยคลิกที่เมนู Applications &gt;&gt; Internet &gt;&gt; FileZilla</p>
<div style="text-align: right;"><span id="more-311"></span></div>
<p><a href="http://www.flickr.com/photos/imrgill/4072645204/sizes/o/"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2558/4072645204_6eaec7616b_o.png" alt="" width="465" height="230" /></a></p>
<p style="text-align: center;">การเรียกโปรแกรม FileZilla</p>
<p><!-- wp_ad_camp_2 --></p>
<p style="text-align: left;">หน้าตาโปรแกรม FileZilla</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4072682070/sizes/o/"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2574/4072682070_c45df416d0.jpg" alt="" width="500" height="432" /></a>หน้าจอหลัก FileZilla</p>
<p style="text-align: left;">Drag and Drop ได้เหมือนโปรแกรม FTP ทั่วไปได้เลยครับ ลองทำไปใช้กันดู</p>
<p><!-- wp_ad_camp_1 --></p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2009/11/04/how-to-install-filezilla-ftp-client-on-ubuntu.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PlayOnLinux 3.7.1 ออกแล้ว</title>
		<link>http://imrgill.com/2009/11/03/how-to-install-playonlinux-on-ubuntu-9-10-karmic.html</link>
		<comments>http://imrgill.com/2009/11/03/how-to-install-playonlinux-on-ubuntu-9-10-karmic.html#comments</comments>
		<pubDate>Tue, 03 Nov 2009 14:45:24 +0000</pubDate>
		<dc:creator>mrgill</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[playonlinux]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://imrgill.com/?p=290</guid>
		<description><![CDATA[หลายคนที่เปลี่ยนมาใช้ Linux คงจะเจอปัญหาตัดทางโลกโปรแกรมที่รันบน Windows ไม่ได้ หลายคนคงคิดถึงโปรแกรม Wine ที่จำลองสภาพแวดล้อมทำให้เราสามารถติดตั้งโปรแกรมที่ทำงานบน Windows ใน Linux ได้ วันนี้ผมนำโปรแกรม PlayOnLinux มาแนะนำครับ PlayOnLinux เป็นโปรแกรมที่ช่วยให้เราสามารถติดตั้งโปรแกรมที่ทำงานบน Windows ใน Linux ได้เช่นเดียวกัน Wine มาดูวิธีติดตั้งโปรแกรม PlayOnLinux บน Ubuntu 9.10 Karmic Koala กัน $ sudo wget http://deb.playonlinux.com/playonlinux_karmic.list -O /etc/apt/sources.list.d/playonlinux.list $ sudo apt-get update $ sudo apt-get install playonlinux เรียกใช้งาน PlayOnLinux โดยคลิกที่เมนู Application &#62;&#62; Games &#62;&#62; PlayOnLinux (แปลกดีอยู่ในหมวดเกมส์ซะงั้น) หรือจะเรียกด้วยคำสั่ง [...]]]></description>
			<content:encoded><![CDATA[<p>หลายคนที่เปลี่ยนมาใช้ Linux คงจะเจอปัญหาตัดทางโลกโปรแกรมที่รันบน Windows ไม่ได้ หลายคนคงคิดถึงโปรแกรม Wine ที่จำลองสภาพแวดล้อมทำให้เราสามารถติดตั้งโปรแกรมที่ทำงานบน Windows ใน Linux ได้ วันนี้ผมนำโปรแกรม PlayOnLinux มาแนะนำครับ PlayOnLinux เป็นโปรแกรมที่ช่วยให้เราสามารถติดตั้งโปรแกรมที่ทำงานบน Windows ใน Linux ได้เช่นเดียวกัน Wine</p>
<p><img class="alignleft" style="border: 0pt none; margin: 0px;" src="http://twitpic.com/show/large/k350f" alt="" width="150" height="150" /></p>
<p>มาดูวิธีติดตั้งโปรแกรม PlayOnLinux บน Ubuntu 9.10 Karmic Koala กัน</p>
<pre>
<div class="codesnip-container" >$ sudo wget http://deb.playonlinux.com/playonlinux_karmic.list -O /etc/apt/sources.list.d/playonlinux.list
$ sudo apt-get update
$ sudo apt-get install playonlinux</div>
</pre>
<div style="text-align: right;"><span id="more-290"></span></div>
<p style="text-align: left;">เรียกใช้งาน PlayOnLinux โดยคลิกที่เมนู Application &gt;&gt; Games &gt;&gt; PlayOnLinux (แปลกดีอยู่ในหมวดเกมส์ซะงั้น) <img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2804/4071459195_0aeb779088_o.png" alt="" width="423" height="390" /><br />
หรือจะเรียกด้วยคำสั่ง</p>
<pre>
<div class="codesnip-container" >$ playonlinux</div>
</pre>
<p>หน้าตาของ PlayOnLinux</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4071449021/sizes/o/"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm3.static.flickr.com/2516/4071449021_7528294965_o.png" alt="" width="468" height="380" /></a>หน้า First use of PlayOnLinux</p>
<p style="text-align: left;">หากเปิดโปรแกรม PlayOnLinux เป็นครั้งแรกโปรแกรมก็จะแสดง First use of PlayOnLinux ก็ทำตาม Wizard ไปเรื่อยๆ ครับจะมี Agreement มาให้ยอมรับกับพวกติดตั้ง Font นิดหน่อยก็คลิก Forward ไปได้เรื่อยๆ ครับ</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4071449023/sizes/o/"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm4.static.flickr.com/3502/4071449023_5084a4b7d6_o.png" alt="" width="467" height="381" /></a><br />
หน้าให้เราติดตั้ง Font<br />
<!-- wp_ad_camp_2 --></p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4071449027/sizes/o/"><img class="aligncenter" style="border: 0.5px solid black; margin-top: 0.5px; margin-bottom: 0.5px;" src="http://farm3.static.flickr.com/2508/4071449027_d034f6bd11_o.png" alt="" width="480" height="470" /></a>หน้าจอหลักของ PlayOnLinux</p>
<p style="text-align: left;">หากต้องการทราบว่า PlayOnLinux สามารถติดตั้งโปรแกรมอะไรได้บ้างก็คลิกที่ปุ่ม Install ได้เลยครับจะมีการแยกหมวดหมู่ของโปรแกรมไว้เป็นหมวดอยู่แล้ว</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/imrgill/4071449029/sizes/o/"><img class="aligncenter" style="border: 0pt none; margin-top: 0px; margin-bottom: 0px;" src="http://farm4.static.flickr.com/3523/4071449029_7d06f8debc_o.png" alt="" width="475" height="356" /></a>หน้า Install</p>
<p style="text-align: left;">ก็เป็นโปรแกรมที่น่าใช้อีกตัวนึงครับ ลองนำไปใช้กันดู</p>
<p><!-- wp_ad_camp_1 --></p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://imrgill.com/2009/11/03/how-to-install-playonlinux-on-ubuntu-9-10-karmic.html/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

