<?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>ไอเอินบล๊อก &#187; debian</title>
	<atom:link href="http://www.iearn.in.th/tag/debian/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>install dhcp server on debian</title>
		<link>http://www.iearn.in.th/2010/03/10/install-dhcp-server-on-debian/</link>
		<comments>http://www.iearn.in.th/2010/03/10/install-dhcp-server-on-debian/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 06:39:57 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[dhcp3]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=623</guid>
		<description><![CDATA[apt-get install dhcp3-server เป็นภาคต่อของการทำ server ของบริษัทครับ ที่จริงไม่มีอะไรหรอกแค่เอามาไว้อ่านเฉยๆ ส่วนตรงนี้จะเป็นส่วนของการ Install dhcp server ซึ่งไว้สำหรับการแจก ip ภายในครับ โดยในการแจกได้ใช้ ip ช่วงตั้งแต่ 192.168.55.100 &#8211; 192.168.55.254 แก้ไข /etc/dhcp3/dhcpd.conf subnet 192.168.55.0 netmask 255.255.255.0 &#123; #option routers 192.168.2.55 pool&#123; range 192.168.55.100 192.168.55.255; allow unknown clients; &#125; &#125; 16 views]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> dhcp3-server</pre></div></div>

<p>เป็นภาคต่อของการทำ server ของบริษัทครับ ที่จริงไม่มีอะไรหรอกแค่เอามาไว้อ่านเฉยๆ ส่วนตรงนี้จะเป็นส่วนของการ Install dhcp server ซึ่งไว้สำหรับการแจก ip ภายในครับ<br />
<span id="more-623"></span></p>
<p>โดยในการแจกได้ใช้ ip ช่วงตั้งแต่ 192.168.55.100 &#8211; 192.168.55.254 แก้ไข /etc/dhcp3/dhcpd.conf</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">subnet 192.168.55.0 netmask 255.255.255.0 <span style="color: #7a0874; font-weight: bold;">&#123;</span>
        <span style="color: #666666; font-style: italic;">#option routers 192.168.2.55</span>
        pool<span style="color: #7a0874; font-weight: bold;">&#123;</span>
                range 192.168.55.100 192.168.55.255;
                allow unknown clients;
        <span style="color: #7a0874; font-weight: bold;">&#125;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>


<p class="sayac_bilgi">16 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2010/03/10/install-dhcp-server-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gem update &#8211;system is disabled on Debian</title>
		<link>http://www.iearn.in.th/2010/03/07/gem-update-system-is-disabled-on-debian/</link>
		<comments>http://www.iearn.in.th/2010/03/07/gem-update-system-is-disabled-on-debian/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 15:40:26 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[update gem]]></category>
		<category><![CDATA[update_rubygems]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=621</guid>
		<description><![CDATA[ปัญหาเกิดจากกำลังลอง server และ rails hosting controller โดยที่ลองเล่นบน debian แล้วเมื่อต้องการ update gem เจอปัญหานี้ครับ ERROR: While executing gem ... (RuntimeError) gem update --system is disabled on Debian. RubyGems can be updated using the official Debian repositories by aptitude or apt-get. วิธีการแก้โดยการเปลี่ยนไปใช้ gem ที่ไว้สำหรับ update rubygems ทำได้ 2 วิธีครับ gem install update_rubygems cd /var/lib/gems/1.8/bin ./update_rubygems or gem install [...]]]></description>
			<content:encoded><![CDATA[<p>ปัญหาเกิดจากกำลังลอง server และ rails hosting controller โดยที่ลองเล่นบน debian แล้วเมื่อต้องการ update gem เจอปัญหานี้ครับ</p>
<pre code="bash">ERROR:  While executing gem ... (RuntimeError)
    gem update --system is disabled on Debian. RubyGems can be updated using the official Debian repositories by aptitude or apt-get.
</pre>
<p><span id="more-621"></span><br />
วิธีการแก้โดยการเปลี่ยนไปใช้ gem ที่ไว้สำหรับ update rubygems ทำได้ 2 วิธีครับ</p>
<pre code="bash">
gem install update_rubygems
cd /var/lib/gems/1.8/bin
./update_rubygems
</pre>
<p>or</p>
<pre code="bash">
gem install rubygems-update
cd /var/lib/gems/1.8/bin
./update_rubygems
</pre>

<p class="sayac_bilgi">5 views</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2010/03/07/gem-update-system-is-disabled-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

