<?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>LinuxLane.com &#187; Linux</title>
	<atom:link href="http://www.linuxlane.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxlane.com</link>
	<description>เรียนรู้การใช้งาน ลีนุกซ์ [ Linux ]</description>
	<lastBuildDate>Mon, 19 Jul 2010 09:04:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=1549</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ซ่อน Server Information ของ Apache Web Server บน Ubuntu Linux</title>
		<link>http://www.linuxlane.com/hide-server-information-apache-web-server-ubuntu-linux/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/hide-server-information-apache-web-server-ubuntu-linux/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 09:02:14 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=350</guid>
		<description><![CDATA[







เพื่อเป็นการป้องกันความปลอดภัยให้กับ Apache Web Server บน Ubuntu Linux ซึ่งวิธีการต่อไปนี้ ทดสอบกับ Ubuntu Linux 10.04 LTS นะครับ และคิดว่าน่าจะใช้กับเวอร์ชันอื่นๆ ได้เช่นกัน
สำหรับ Apache Web Server นั้น ถ้าเกิดมีการเปิดให้ List Directory ( หรือ Indexes ) ระบบจะมีการแสดงข้อความ Server Information ดังรูปข้างล่างนี้นะครับ


ซึ่งเราเอง อยากจะปิด ไม่ให้แสดงผล หรือแสดงผลน้อยที่สุด มีวิธีการดังนี้ครับ
แก้ไขที่ไฟล์
/etc/apache2/conf.d/security
หาบรรทัด ที่มีข้อความว่า
ServerTokens  OS
ให้แก้ไขเป็น
ServerTokens Prod
และบรรทัด
ServerSignature On
แก้ไขเป็น
ServerSignature Off
จากนั้นก็บันทึกไฟล์ และทำการรีโหลด Apache ครับ ดังนี้
sudo   /etc/init.d/apache2     reload
เมื่อทำการเปิดหน้าเว็บไซต์อีกคร้ง จะได้ดังรูปครับ

number of view: 59


เก็บลิงค์เข้าบุ๊คมาร์ค

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/hide-server-information-apache-web-server-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>เตรียมพบกับ Ubuntu 10.04 LTS ปลายเดือนนี้</title>
		<link>http://www.linuxlane.com/ubuntu-10-04-lts-beta1/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/ubuntu-10-04-lts-beta1/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 03:13:43 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[ข่าวสาร]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Lucid]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=307</guid>
		<description><![CDATA[
ในเดือนนี้ก็มีข่าวอัพเดตจาก Ubuntu Linux นะครับ โดย Ubuntu.com ได้เปิดให้ดาวน์โหลด Ubuntu 10.04 LTS (lucid) Beta 1 เป็นที่เรียบร้อยแล้ว และมีการประกาศเพิ่มเติมออกมาว่า จะปล่อย Ubuntu 10.04 LTS ตัวเต็ม ในวันที่ 29 เมษายน 2553 นี้นะครับ สำหรับใครที่เป็นแฟน Ubuntu ก็ตั้งตารอคอยได้เลย ส่วนใครที่อดใจรอไม่ไหวแล้วล่ะก็ โหลดตัว Beta1 ไปได้เลยครับ




http://www.ubuntu.com/testing/lucid/beta1
number of view: 905

เก็บลิงค์เข้าบุ๊คมาร์ค

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/ubuntu-10-04-lts-beta1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>วิธีการติดตั้ง Firefox 3.6 บน Ubuntu Linux</title>
		<link>http://www.linuxlane.com/firefox-3-6-installation-ubuntu-linux/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/firefox-3-6-installation-ubuntu-linux/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 15:02:52 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=285</guid>
		<description><![CDATA[Firefox เวอร์ชัน 3.6 มีการเปิดตัวขึ้นในช่วงต้นปี 2553 มีการปรับปรุงไปหลายส่วนเหมือนกัน  ทางผมเองก็อยากจะติดตั้ง Firefox 3.6 บน Ubuntu Linux เวอร์ชัน 9.10 เหมือนกัน ก็เลยหาวิธีการติดตั้ง ที่ไม่ยากนัก เอาล่ะมาดูวิธีการติดตั้งกันได้เลยนะ

วิธีที่ 1 ติดตั้งจาก PPA จาก Build รายวัน

1. เพิ่ม แหล่งที่อยู่สำหรับการติดตั้งโปรแกรม
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa




2. ทำการอัพเดต Source List ดังนี้
sudo apt-get update
3. ดำเนินการติดตั้ง
sudo apt-get install firefox-3.6
วิธีที่ 2 ติดตั้งด้วยไฟล์โดยตรงจากเว็บ www.mozilla.com
1. ดาวน์โหลดไฟล์จาก http://download.mozilla.org/?product=firefox-3.6.2&#038;os=linux&#038;lang=th  จะได้ไฟล์ชื่อ  firefox-3.6.2.tar.bz2
2. แตกไฟล์ .tar.bz2 ออกมา ด้วยคำสั่ง tar ดังนี้
tar  [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/firefox-3-6-installation-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>พิมพ์ตัวอักษร ภาษาไทย บนลินุกซ์</title>
		<link>http://www.linuxlane.com/linux-gnome-thai-type/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/linux-gnome-thai-type/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 06:03:57 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Thai]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[พิมพ์ไทย]]></category>
		<category><![CDATA[ภาษาไทย]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=205</guid>
		<description><![CDATA[ขั้นตอนการปรับแต่งลินุกซ์ให้พิมพ์ภาษาไทย



ขั้นตอนที่ 1
ลอกอินเข้าสู่ระบบ แล้วทำการคลิกเมาส์ปุ่มขวา ที่แถบเมนูการทำงานข้างบน ( Top Panel ) จากนั้นเลือกที่ Add to Panel &#8230; ดังรูป

ขั้นตอนที่ 2
จะมีหน้าต่าง Add to Panel ขึ้นมา ให้คลิกเลือกที่ Keyboard Indicator จากนั้นคลิกที่ปุ่ม Add

จะมีปุ่มที่แสดงว่า เรากำลังใช้แป้นพิมพ์ภาษาอะไรขึ้นมาตรงแถบเมนูด้านบน ( Top Panel ) ดังรูป ซึ่งในที่นี้จะเป็นตัวอักษร USA
ขั้นตอนที่ 3
เมื่อมีปุ่มแสดงการใช้แป้นพิมพ์ (Keyboard Indicator) ขึ้นมาแล้ว ก็ให้ทำการคลิกเมาส์ปุ่มขวา ตรงปุ่มดังกล่าว แล้วเลือกที่เมนู Keyboard Preferences 

ขั้นตอนที่ 4
จะมีหน้าต่าง Keyboard Preferences ขึ้นมา ที่แทบ Layouts จะเป็นการเพิ่มชนิดของแป้นพิมพ์เข้าไป ในที่นี้จะเห็นเพียง U.S. English ขึ้นมาเท่านั้น ให้เราคลิกที่ปุ่ม Add [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/linux-gnome-thai-type/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>การติดตั้ง PHP 5.3 บน Linux CentOS 5.3</title>
		<link>http://www.linuxlane.com/how-to-install-php-5-3on-linux-centos-5-3/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/how-to-install-php-5-3on-linux-centos-5-3/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 05:17:43 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 5.2]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=203</guid>
		<description><![CDATA[
วิธีการติดตั้ง PHP  5.3  บน  Linux CentOS 5.3 นะครับ โดยในการติดตั้งครั้งนี้ เราจะใช้คำสั่ง yum เป็นหลัก แต่ต้องมีการติดตั้ง repo ของ epel และ remi ด้วยนะครับ มาเริ่มต้นติดตั้งกันได้เลยครับ



ก่อนอื่น ดาวน์โหลด repo ของ  epel , remi มาติดตั้งก่อนได้เลย เพื่อให้ yum รู้ตำแหน่งของ php 5.3
# wget  http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
# wget  http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
# rpm   -Uvh   remi-release-5*.rpm   epel-release-5*.rpm

จากนั้นทำการอัพเดต php ด้วย yum ได้เลยครับ

# yum   [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/how-to-install-php-5-3on-linux-centos-5-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ลืมรหัสผ่าน MySQL แก้ไขได้นะ</title>
		<link>http://www.linuxlane.com/forgot-mysql-root-password-solved/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/forgot-mysql-root-password-solved/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 15:56:57 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[กู้คืน]]></category>
		<category><![CDATA[รหัสผ่าน]]></category>
		<category><![CDATA[ลืม]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=197</guid>
		<description><![CDATA[ในวันนี้มาดูวิธีการแก้ไข ในกรณีที่เรา ลืม รหัสผ่าน ของ mysql database นะครับ คิดว่าหลายท่าน คงเคยพบเจอปัญหานี้มาก่อน เรามาดูวิธีการแก้ไขได้เลยครับ



ก่อนอื่น เราต้องทำการปิดเซอร์วิสของ mysqld ก่อนนะครับ
# /etc/init.d/mysqld    stop
จากนั้นค่อยทำการเปิดเซอร์วิสขึ้นมา ในแบบ safe mode นะครับ
# mysqld_safe  &#8211;skip-grant-tables
ต่อมาทำการล็อกอินเข้าสู่ระบบ ด้วยผู้ใช้ root ดังนี้
# mysql    &#8211;user=root    mysql
เมื่อล็อกอินเข้าสู่ระบบได้แล้ว เราสามารถใช้คำสั่งต่างๆ ในการเซ็ตรหัสผ่านใหม่ ดังนี้
mysql &#62; update user set Password=PASSWORD(&#8216;รหัสผ่านใหม่&#8217;) where user=&#8217;root&#8217;;
mysql &#62;  flush privileges;
mysql &#62;  exit;
เท่านี้เราก็สามารถใช้งานได้ปกติ โดยการหยุดการทำงาน mysql_safe แล้วก็สตาร์ทเซอร์วิส mysqld ได้ปกติ นะครับ
number of view: 738

เก็บลิงค์เข้าบุ๊คมาร์ค

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/forgot-mysql-root-password-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Tips] แก้ปัญหา การแสดงผลภาษาผิดเพี้ยน ขณะรีโมตผ่าน SSH</title>
		<link>http://www.linuxlane.com/tips-ssh-language-problem-solved/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/tips-ssh-language-problem-solved/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 16:12:22 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[ทิปส์]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=145</guid>
		<description><![CDATA[มีบ่อยครั้งที่เราทำการรีโมตไปยัง linux server ผ่าน SSH ด้วยโปรแกรม putty หรือ SSH Shell Client จะมีปัญหาเรื่องของการแสดงผลภาษาผิดเพี้ยน อยู่บ่อยๆ สาเหตุเนื่องมาจากว่า การตั้งค่าของสภาพแวดล้อม (environment) ของระบบ ลินุกซ์ ขณะที่ทำงานหน้าเครื่อง กับขณะรีโมต มีการตั้งค่าแตกต่างกัน



แต่อย่างไรก็ตามเราสามารถแก้ปัญหาเฉพาะหน้าได้ โดยการตั้งค่าภาษาใหม่ดังนี้
$  env   LANG=C  pstree
เท่านี้การแสดงผลก็จะเหมือนกับที่เราไปนั่งอยู่หน้าเครื่องแล้วครับ
number of view: 471

เก็บลิงค์เข้าบุ๊คมาร์ค

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/tips-ssh-language-problem-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>คำสั่ง useradd &#8211; เพิ่มผู้ใช้งานใน ลินุกซ์</title>
		<link>http://www.linuxlane.com/useradd-linux-command/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/useradd-linux-command/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 15:51:33 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux command]]></category>
		<category><![CDATA[คำสั่ง]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=142</guid>
		<description><![CDATA[คำสั่ง useradd เป็นคำสั่งที่ใช้ในการ เพิ่มผู้ใช้งานใน ลินุกซ์ ซึ่งจริงๆ แล้วมีพารามิเตอร์ต่างๆ จำนวนมากมาย แต่ในที่นี้ เราจะมาดูวิธีการใช้งานอย่างง่าย แบบต่างๆ กันครับ  แล้วก็อย่าลืมนะครับ หลังจากที่มีการเพิ่มผู้ใช้งานแล้ว เราต้องทำการตั้งรหัสผ่านให้กับผู้ใช้  ด้วยคำสั่ง passwd ด้วยนะ  ไม่อย่างนั้นผู้ใช้ที่เราสร้างขึ้นมา จะไม่สามารถล็อกอินเข้าสู่ระบบได้ครับ เอาล่ะมาดูกันได้เลยครับ





เพิ่มผู้ใช้งานแบบไม่ระบุกลุ่ม เช่น

# useradd    chatpong
# passwd      chatpong
Changing  			password for user chatpong.
New  			UNIX password: ใส่รหัสผ่านให้กับผู้ใช้
BAD  			PASSWORD: it does not contain enough DIFFERENT characters
Retype  			new UNIX password: ใส่รหัสผ่านให้กับผู้ใช้อีกครั้ง
passwd:  			all authentication tokens updated successfully.

เพิ่มผู้ใช้งานแบบระบุกลุ่มด้วยครับ [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/useradd-linux-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>


