<?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>ไอเอินบล๊อก</title>
	<atom:link href="http://www.iearn.in.th/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iearn.in.th</link>
	<description>Just Play and Just Knowledge</description>
	<lastBuildDate>Fri, 05 Aug 2011 15:10:12 +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>คำสั่งสำหรับลงเครื่องมือในการ compile ทั้งหมด</title>
		<link>http://www.iearn.in.th/2011/08/05/%e0%b8%84%e0%b8%b3%e0%b8%aa%e0%b8%b1%e0%b9%88%e0%b8%87%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a%e0%b8%a5%e0%b8%87%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%87%e0%b8%a1/</link>
		<comments>http://www.iearn.in.th/2011/08/05/%e0%b8%84%e0%b8%b3%e0%b8%aa%e0%b8%b1%e0%b9%88%e0%b8%87%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a%e0%b8%a5%e0%b8%87%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%87%e0%b8%a1/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 15:10:12 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=724</guid>
		<description><![CDATA[2 คำสั่งเป็นอันว่าพร้อมในการ make yum groupinstall 'Development Tools' yum groupinstall 'Development Libraries' 11 views]]></description>
			<content:encoded><![CDATA[<p>2 คำสั่งเป็นอันว่าพร้อมในการ make<br />
<code>yum groupinstall 'Development Tools'<br />
yum groupinstall 'Development Libraries'</code></p>

<p class="sayac_bilgi">11 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2011/08/05/%e0%b8%84%e0%b8%b3%e0%b8%aa%e0%b8%b1%e0%b9%88%e0%b8%87%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a%e0%b8%a5%e0%b8%87%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%87%e0%b8%a1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos Install ImageMagick and rmagick gem</title>
		<link>http://www.iearn.in.th/2011/07/30/centos-install-imagemagick-and-rmagick-gem/</link>
		<comments>http://www.iearn.in.th/2011/07/30/centos-install-imagemagick-and-rmagick-gem/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 04:37:35 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RoR]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=719</guid>
		<description><![CDATA[wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz cd ImageMagick-6-?? ./configure make make install gem install rmagick แถมตัวอย่างการใช้งาน http://beatz.tistory.com/entry/Ruby-on-Rails-and-Rmagick-Crop-Resize-Rotate-Thumbnail-and-Upload-Images 12 views]]></description>
			<content:encoded><![CDATA[<p><code>wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz<br />
cd ImageMagick-6-??<br />
./configure<br />
make<br />
make install<br />
gem install rmagick</code><br />
<span id="more-719"></span></p>
<p>แถมตัวอย่างการใช้งาน</p>
<p>http://beatz.tistory.com/entry/Ruby-on-Rails-and-Rmagick-Crop-Resize-Rotate-Thumbnail-and-Upload-Images</p>

<p class="sayac_bilgi">12 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2011/07/30/centos-install-imagemagick-and-rmagick-gem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails 2.3.5 missing gem require searchlogic</title>
		<link>http://www.iearn.in.th/2011/07/29/rails-2-3-5-missing-gem-require-searchlogic/</link>
		<comments>http://www.iearn.in.th/2011/07/29/rails-2-3-5-missing-gem-require-searchlogic/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 17:30:15 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[RoR]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=717</guid>
		<description><![CDATA[ถ้าเกิดเจอปัญหา Missing these required gems: searchlogic You&#8217;re running: ruby 1.8.7.72 แก้ไขไฟล์ config/environment.rb gem "searchlogic" ,:version => "2.4.19" #ถ้าเกิดมีปัญหาอีกแก้โดยเพิ่ม gem "rack"< :version => "1.0.1" 3 views]]></description>
			<content:encoded><![CDATA[<p>ถ้าเกิดเจอปัญหา Missing these required gems: searchlogic You&#8217;re running: ruby 1.8.7.72<br />
แก้ไขไฟล์ config/environment.rb<br />
<code>gem "searchlogic" ,:version => "2.4.19"<br />
#ถ้าเกิดมีปัญหาอีกแก้โดยเพิ่ม<br />
gem "rack"< :version => "1.0.1"</code></p>

<p class="sayac_bilgi">3 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2011/07/29/rails-2-3-5-missing-gem-require-searchlogic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rails Deploy permission denied</title>
		<link>http://www.iearn.in.th/2011/07/28/rails-deploy-permission-denied/</link>
		<comments>http://www.iearn.in.th/2011/07/28/rails-deploy-permission-denied/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 09:59:51 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RoR]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=714</guid>
		<description><![CDATA[ถ้าหากเจอปัญหาเมื่อมีการ deploy rails ใน /home/xxx/** แล้วเจอ permission denied ให้ทำการเพิ่ม permission ให้ /home/xxx ดังนี้ครับ chmod 755 /home/xxx 5 views]]></description>
			<content:encoded><![CDATA[<p>ถ้าหากเจอปัญหาเมื่อมีการ deploy rails ใน /home/xxx/** แล้วเจอ permission denied ให้ทำการเพิ่ม permission ให้ /home/xxx ดังนี้ครับ<br />
<code>chmod 755 /home/xxx</code></p>

<p class="sayac_bilgi">5 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2011/07/28/rails-deploy-permission-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing GIT Repository to Centos</title>
		<link>http://www.iearn.in.th/2011/07/28/installing-git-repository-to-centos/</link>
		<comments>http://www.iearn.in.th/2011/07/28/installing-git-repository-to-centos/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 08:26:16 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=712</guid>
		<description><![CDATA[yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel cd /usr/local/src wget http://kernel.org/pub/software/scm/git/git-1.7.5.tar.gz tar xzvf git-1.7.5.tar.gz cd git-1.7.5 make prefix=/usr/local all make prefix=/usr/local install 3 views]]></description>
			<content:encoded><![CDATA[<p><code>yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel<br />
cd /usr/local/src<br />
wget http://kernel.org/pub/software/scm/git/git-1.7.5.tar.gz<br />
tar xzvf git-1.7.5.tar.gz<br />
cd git-1.7.5<br />
make prefix=/usr/local all<br />
make prefix=/usr/local install</code></p>

<p class="sayac_bilgi">3 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2011/07/28/installing-git-repository-to-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find and change file ownership</title>
		<link>http://www.iearn.in.th/2011/07/07/find-and-change-file-ownership/</link>
		<comments>http://www.iearn.in.th/2011/07/07/find-and-change-file-ownership/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 23:29:04 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenVZ]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=709</guid>
		<description><![CDATA[สำหรับใครที่ต้องการแก้ ownership ต่างๆ # Change the ownership of all files owned by one user. # Finds all files in /home owned by UID 1056 and changes to 2056. # See: http://www.commandlinefu.com/commands/view/892/change-the-ownership-of-all-files-owned-by-one-user. find /home -uid 1056 -exec chown 2056 {} \; # Changing files ownership in a directory recursivley from a user to another # See: [...]]]></description>
			<content:encoded><![CDATA[<p>สำหรับใครที่ต้องการแก้ ownership ต่างๆ<br />
<code># Change the ownership of all files owned by one user.<br />
# Finds all files in /home owned by UID 1056 and changes to 2056.<br />
# See: http://www.commandlinefu.com/commands/view/892/change-the-ownership-of-all-files-owned-by-one-user.<br />
find /home -uid 1056 -exec chown 2056 {} \;</p>
<p># Changing files ownership in a directory recursivley from a user to another<br />
# See: http://www.commandlinefu.com/commands/view/414/recursive-ownership-change</p>
<p>chown -cR --from=olduser:oldgroup newuser:newgroup *</p>
<p>find path/to/dir -user fred -exec chown barney '{}' \;</p>
<p># Or, if you wish to change also the group name of the file's ownership<br />
# to match the new user name, find the new user's group name and plug it into this:</p>
<p>find path/to/dir -user fred -exec chown barney:barneygroup '{}' \;</p>
<p># Caveats:<br />
# 1. Not only will this change the files under the specified directory,<br />
#    but it will change the directory itself, if the ownership matches.<br />
# 2. Changing files owned by root can hose your system.<br />
# See: http://www.linuxforums.org/forum/linux-programming-scripting/132312-changing-all-files-owned-root-assigned-other-user.html</code></p>

<p class="sayac_bilgi">15 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2011/07/07/find-and-change-file-ownership/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing tiny proxy centos VPS</title>
		<link>http://www.iearn.in.th/2011/06/21/installing-tiny-proxy-centos-vps/</link>
		<comments>http://www.iearn.in.th/2011/06/21/installing-tiny-proxy-centos-vps/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 17:45:47 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenVZ]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=707</guid>
		<description><![CDATA[ง่ายกับโค้ดแบบเดิมคือ wget ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/testing/i386/RPMS/tinyproxy-1.8.2-1.el5.kb.3.i386.rpm rpm -Uvh tinyproxy-1.8.2-1.el5.kb.3.i386.rpm กรณี้ต้องใช้งานใน vps vi /etc/tinyproxy/tinyproxy.conf Allow vps_ip_address 31 views]]></description>
			<content:encoded><![CDATA[<p>ง่ายกับโค้ดแบบเดิมคือ<br />
<code>wget ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/testing/i386/RPMS/tinyproxy-1.8.2-1.el5.kb.3.i386.rpm<br />
rpm -Uvh tinyproxy-1.8.2-1.el5.kb.3.i386.rpm</code><br />
<span id="more-707"></span></p>
<p>กรณี้ต้องใช้งานใน vps<br />
<code>vi /etc/tinyproxy/tinyproxy.conf<br />
Allow vps_ip_address</code></p>

<p class="sayac_bilgi">31 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2011/06/21/installing-tiny-proxy-centos-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Networking error : failed to open state file /var/run/network/ifstate</title>
		<link>http://www.iearn.in.th/2011/06/14/networking-error-failed-to-open-state-file-varrunnetworkifstate/</link>
		<comments>http://www.iearn.in.th/2011/06/14/networking-error-failed-to-open-state-file-varrunnetworkifstate/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 14:26:53 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[OpenVZ]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=703</guid>
		<description><![CDATA[Networking ceases to function after upgrading Ubuntu 8.10 to 9.04 within an OpenVZ VE. The symptoms are that none of the network interfaces are created, and running ifup complains with ifup: failed to open statefile /var/run/network/ifstate: No such file or directory. Manually creating the directory /var/run/network fixes this problem temporarily, allowing ifup to work. The [...]]]></description>
			<content:encoded><![CDATA[<p>Networking ceases to function after upgrading Ubuntu 8.10 to 9.04 within an OpenVZ VE. The symptoms are that none of the network interfaces are created, and running ifup complains with ifup: failed to open statefile /var/run/network/ifstate: No such file or directory. Manually creating the directory /var/run/network fixes this problem temporarily, allowing ifup to work.<br />
<span id="more-703"></span><br />
The root cause of this is a change in the ifupdown package. In previous versions, /etc/init.d/loopback created the /var/run/network directory. In the new version, this action has been reassigned to /lib/udev/rules.d/85-ifupdown.rules. Because udev is disabled within OpenVZ VEs, /lib/udev/rules.d/85-ifupdown.rules was never run, and the /var/run/network directory never created.</p>
<p>We’ve fixed this by modifying /etc/init.d/networking and adding a line [ -d /var/run/network ] || mkdir /var/run/network immediately on line 53 immediately after start).</p>

<p class="sayac_bilgi">124 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2011/06/14/networking-error-failed-to-open-state-file-varrunnetworkifstate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to open pty: No such file or directory</title>
		<link>http://www.iearn.in.th/2011/06/14/unable-to-open-pty-no-such-file-or-directory/</link>
		<comments>http://www.iearn.in.th/2011/06/14/unable-to-open-pty-no-such-file-or-directory/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 09:08:35 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[OpenVZ]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=699</guid>
		<description><![CDATA[Error: vzctl enter VEID enter into VE VEID failed Unable to open pty: No such file or directory Here&#8217;s the Fix: vzctl exec VEID /sbin/MAKEDEV pty vzctl exec VEID /sbin/MAKEDEV tty vzctl enter VEID To Fix this issue permanently: 1. Edit the file /etc/rc.sysinit of the VPS server 2. Comment the line #/sbin/start_udev 3. Add [...]]]></description>
			<content:encoded><![CDATA[<p>Error:<br />
vzctl enter VEID<br />
enter into VE VEID failed<br />
Unable to open pty: No such file or directory<br />
<span id="more-699"></span><br />
Here&#8217;s the Fix:</p>
<p>vzctl exec VEID /sbin/MAKEDEV pty<br />
vzctl exec VEID /sbin/MAKEDEV tty<br />
vzctl enter VEID</p>
<p>To Fix this issue permanently:</p>
<p>1. Edit the file /etc/rc.sysinit of the VPS server</p>
<p>2. Comment the line<br />
#/sbin/start_udev</p>
<p>3. Add the following lines after /sbin/start_udev:</p>
<p>/sbin/MAKEDEV tty<br />
/sbin/MAKEDEV pty</p>
<p>4. Reboot your VPS<br />
vzctl restart VEID</p>
<p>Ubuntu<br />
vzctl exec VEID update-rc.d -f udev remove</p>

<p class="sayac_bilgi">6 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2011/06/14/unable-to-open-pty-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jax-rpc plugins for netbeans 6.9</title>
		<link>http://www.iearn.in.th/2011/01/21/jaxrpc-plugins-for-netbeans-6-9/</link>
		<comments>http://www.iearn.in.th/2011/01/21/jaxrpc-plugins-for-netbeans-6-9/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 09:49:02 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=694</guid>
		<description><![CDATA[พอดีผมมีโปรแจคที่ทำไว้ด้วย jax-rpc แล้วอยู่ๆ ผมเปลี่ยนมาใช้ netbeans 6.9.1 แต่มันดันไม่มี jax-rpc ลองไปค้นหาดูกว่าจะหาเจอเหนื่อยเลย วิธีการก็แค่เพิ่ม 3rd plugins url ไปครับ http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz 92 views]]></description>
			<content:encoded><![CDATA[<p>พอดีผมมีโปรแจคที่ทำไว้ด้วย jax-rpc แล้วอยู่ๆ ผมเปลี่ยนมาใช้ netbeans 6.9.1 แต่มันดันไม่มี jax-rpc ลองไปค้นหาดูกว่าจะหาเจอเหนื่อยเลย วิธีการก็แค่เพิ่ม 3rd plugins url ไปครับ<br />
<code>http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz</code></p>

<p class="sayac_bilgi">92 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2011/01/21/jaxrpc-plugins-for-netbeans-6-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

