<?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 Tips</title>
	<atom:link href="http://www.linuxlane.com/category/linux-tips/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=6666</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>ปัญหา : Cannot utime: Operation not permitted</title>
		<link>http://www.linuxlane.com/%e0%b8%9b%e0%b8%b1%e0%b8%8d%e0%b8%ab%e0%b8%b2-cannot-utime-operation-not-permitted/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/%e0%b8%9b%e0%b8%b1%e0%b8%8d%e0%b8%ab%e0%b8%b2-cannot-utime-operation-not-permitted/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 07:52:47 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Tar]]></category>
		<category><![CDATA[Troubleshoot]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=342</guid>
		<description><![CDATA[พอดีเจอปัญหา Cannot utime: Operation not permitted ระหว่างการแตกไฟล์ .tar.gz ที่อยู่ใน Windows ( NTFS ) ครับ ผมเมาท์ผ่าน Ubuntu อีกทีนะครับ ในการลองแตกไฟล์ .tar.gz ลองทั้งแบบกราฟิก และ tar  xfzv  ก็เจอปัญหาเหมือนกัน
ทางแก้ไขปัญหาเฉพาะหน้าก็คือ  ในการแตกไฟล์  ให้ใช้สิทธิ root ( sud0 ) หรือไม่ก็ย้ายไฟล์มาไว้บน Linux Native ครับ แต่ถ้าใจเจอทางแก้ไขที่ดีกว่านี้ ก็สามารถโพสต์บอกกันได้นะครับ
number of view: 163

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

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/%e0%b8%9b%e0%b8%b1%e0%b8%8d%e0%b8%ab%e0%b8%b2-cannot-utime-operation-not-permitted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ModSecurity: Output filter: Response body too large</title>
		<link>http://www.linuxlane.com/modsecurity-output-filter-response-body-too-large/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/modsecurity-output-filter-response-body-too-large/#comments</comments>
		<pubDate>Mon, 31 May 2010 08:26:59 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Mod_Security]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=339</guid>
		<description><![CDATA[วันนี้ติดตั้ง Moodle บน Hosting ครับ แต่เกิดปัญหาขึ้นมา ข้อความดังนี้นะครับ
ModSecurity:  Output filter: Response body too large (over limit of 524288, total not  specified). [hostname "www.linuxlane.com"] [uri  "/admin/index.php"] [unique_id "xxxxxxxxxxxxxxx"]
ถ้าใครเจอปัญหาเดียวกัน ก็ให้แก้ที่ คอนฟิกของ mod_security นะครับ
จากเดิม
SecResponseBodyLimit 524288

แก้เป็น
SecResponseBodyLimit 5242880

เมื่อติดตั้งได้แล้ว ค่อยแก้กลับคืนเป็นค่าเดิมก็ได้ครับ


number of view: 234

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

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/modsecurity-output-filter-response-body-too-large/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การติดตั้ง  Virtual Host ของ Apache บน Ubuntu Linux</title>
		<link>http://www.linuxlane.com/virtual-host-apache-on-ubuntu-linux/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/virtual-host-apache-on-ubuntu-linux/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 08:12:51 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualhost]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=267</guid>
		<description><![CDATA[Virtual Host ก็เป็นวิธีการทำให้ เครื่องเซิร์ฟเวอร์ 1 เครื่อง หรือไอพี 1 หมายเลข สามารถให้บริการได้หลายเว็บไซต์ ซึ่งในตัวอย่างข้างล่างนี้ เป็นตัวอย่างของการทำ Virtual Host บน Ubuntu Linux 9.10 Server นะครับ ซึ่งเวอร์ชั่นอื่นๆ ก็สามารถใช้งานได้ในแนวทางเดียวกัน




1. ทำการตั้งตัวแปร NameVirtualHost ให้ชี้ไปยังไอพีของเซิร์ฟเวอร์ ซึ่งถ้าเป็น Ubuntu Linux จะแก้ไขที่ไฟล์  /etc/apache2/ports.conf ครับ
sudo    vim    /etc/apache2/ports.conf
จาก
NameVirtualHost *:80
เป็น
NameVirtualHost xxx.xxx.xxx.xxx:80
โดยในที่นี้ xxx.xxx.xxx.xxx เป็นหมายเลขไอพีของเครื่องเซิร์ฟเวอร์นั่นเองครับ เมื่อเสร็จแล้วให้ทำการบันทึกไฟล์ได้เลย

2. จากนั้นทำการสร้างพื้นที่เก็บเว็บไซต์
sudo   mkdir    /var/www/my.linuxlane.com


3. ไปยังตำแหน่งของคอนฟิกไฟล์ แล้วสร้างไฟล์คอนฟิกขึ้นมา โดยมีชื่อว่า  my.linuxlane.com.conf
cd   /etc/apache2/site-available
sudo   vim   my.linuxlane.com.conf
โดยให้มีข้อมูลข้างในดังนี้

&#60;VirtualHost [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/virtual-host-apache-on-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ติดตั้ง OpenSSH Server บน Ubuntu</title>
		<link>http://www.linuxlane.com/openssh-server-ubuntu/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/openssh-server-ubuntu/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 07:55:49 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=257</guid>
		<description><![CDATA[ในการใช้งาน Ubuntu linux เป็น Server นั้น มีบ่อยครั้งที่เราต้องคอนฟิกระบบผ่าน SSH Secure Shell ซึ่งทำให้ผู้ดูแลระบบมีความสะดวกสบาย ในการดูแลและบริหารจัดการระบบเปรียบเสมือนกับเราไปนั่งที่หน้าเครื่อง server นั่นเอง



วิธีการติดตั้ง
$ sudo   apt-get   install   openssh-server
เท่านี้เราก็สามารถ remote เข้ามาคอนฟิกระบบผ่าน SSH ได้แล้วนั่งเอง ส่วนการปรับแต่งให้มีความปลอดภัยมากขึ้น เดี๋ยวมาอัพเดตกันอีกทีครับ
number of view: 619

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

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/openssh-server-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ติดตั้ง nVidia Driver v.195 บน Ubuntu 9.10</title>
		<link>http://www.linuxlane.com/nvidia-driver-195-ubuntu-9-10-linux/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/nvidia-driver-195-ubuntu-9-10-linux/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 07:24:20 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[บทความ]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[nVidia]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=242</guid>
		<description><![CDATA[
วิธีการติดตั้งไดรเวอร์การ์ดจอ ของ nVidia เวอร์ชั่น 195.36 บน Ubuntu 9.10 Linux นะครับ
ก่อนอื่นก็ทำการเพิ่มช่องทางการเข้าถึงตัวไดรเวอร์ก่อนเลย  ดังนี้
$  sudo add-apt-repository ppa:nvidia-vdpau/ppa
จากนั้นทำการเพิ่มคีย์ เพื่อใช้ในการตรวจสอบความถูกต้องของแหล่งติดตั้งซอฟต์แวร์ ดังนี้
$  sudo apt-key adv &#8211;keyserver keyserver.ubuntu.com &#8211;recv-keys CEC06767
เมื่อเสร็จเรียบร้อยก็ถึงเวลาติดตั้งไดรเวอร์เสียทีครับ

$  sudo apt-get install nvidia-glx-195 nvidia-195-modaliases  nvidia-setting
รอไม่นาน &#8230; เราก็สามารถทดสอบการใช้งานไดรเวอร์ได้ครับ
$  sudo  nvidia-setting

number of view: 685

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

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/nvidia-driver-195-ubuntu-9-10-linux/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>
	</channel>
</rss>


