<?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; Server</title>
	<atom:link href="http://www.linuxlane.com/tag/server/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=5889</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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>เข้าร่วมอบรม โครงการเก็บข้อมูลจราจรทางคอมพิวเตอร์ (Traffic Data)</title>
		<link>http://www.linuxlane.com/sipa-atsi-syslog-traffic-data-training/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/sipa-atsi-syslog-traffic-data-training/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 15:42:39 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Resource]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Syslog]]></category>
		<category><![CDATA[Traffic Data]]></category>
		<category><![CDATA[แหล่งข้อมูล]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=81</guid>
		<description><![CDATA[ช่วงต้นเดือน ก.ย. 2551 ได้เข้าร่วมอบรม โครงการเก็บข้อมูลจราจรทางคอมพิวเตอร์ (Traffic Data) ตาม พรบ.ว่าด้วยการกระทำความผิดเกี่ยวกับคอมพิวเตอร์ พ.ศ. 2550 โดยใช้ซอฟต์แวร์โอเพ่นซอร์ส ซึ่งจัดโดย SIPA และ ATSI

ในครั้งนี้ก็ถือว่ามีประโยชน์อย่างมากสำหรับผู้ที่ดูแลระบบคอมพิวเตอร์ ของหน่วยงานครับ มีการใช้ Linux เป็นระบบปฏิบัติการหลัก ที่เก็บข้อมูลต่างๆ ซึ่งในครั้งนี้ก็ใช้ Ubuntu เวอร์ชั่น 8.04 ครับ




สำหรับผู้ที่ไม่ได้เข้าร่วมอบรม ก็สามารถดาวน์โหลดเอกสาร ไปลองอ่านดูได้ครับ เป็นเนื้อหาที่ทำได้ดี สามารถลองปฏิบัติดูได้ครับ
คู่มือการติดตั้ง (เอกสารประกอบการอบรม) 

คู่มือการเก็บข้อมูลจราจรด้วย Syslog-NG,NTP
คู่มือการติดตั้งระบบยืนยันตัวตน(Authentication)ด้วย Chillispot
คู่มือการติดตั้ง NTP (Network Time Protocol)




แผ่นซีดีประกอบการอบรม


การเก็บข้อมูลจราจรด้วย Syslog-NG,NTP 
การติดตั้งระบบยืนยันตัวตน(Authentication) ด้วย Chillispot(Debian  

สำหรับรายละเอียดของโครงการ สามารถดูได้จากเว็บไซต์  http://www.sipa-atsi.org ครับ
number of view: 369

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

















Hide Sites



]]></description>
		<wfw:commentRss>http://www.linuxlane.com/sipa-atsi-syslog-traffic-data-training/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Error Using expire_logs_days without log_bin crashes the server</title>
		<link>http://www.linuxlane.com/mysql-error-using-expire_logs_days-without-log_bin-crashes-the-server/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/mysql-error-using-expire_logs_days-without-log_bin-crashes-the-server/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 15:39:05 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Fixed]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Solved]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/mysql-error-using-expire_logs_days-without-log_bin-crashes-the-server/</guid>
		<description><![CDATA[ได้มีโอกาสช่วยแก้ไขปัญหาของเซิร์ฟเวอร์ โดยในเบื้องต้นเครื่องนี้ได้ติดตั้ง Linux Ubuntu 7.10 ลงไป แล้วได้ทำการอัพเดตให้เป็น Ubuntu 8.04 แต่มีปัญหาอยู่ 2 เรื่องด้วยกัน โดยอันแรก มีปัญหากับระบบ Mount Harddisk แต่ก็แก้ได้ไม่ยากนัก ส่วนอีกเรื่องก็คือ ฐานข้อมูล MySQL ไม่สามารถสตาร์ทขึ้นมาได้
โดยได้ลองใช้คำสั่ง  /etc/init.d/mysql  start  มีข้อความขึ้นมา ดังนี้





 /etc/init.d/mysql: ERROR: Using expire_logs_days without log_bin crashes the server. See README.Debian.gz
ซึ่งเกิดจากในไฟล์คอนฟิก my.cnf มีการเปิดใช้ expire_logs_days แต่ว่าไม่มีการเปิดใช้ log_bin ด้วย จึงทำให้เกิดข้อความขึ้นมา
วิธีการแก้ไข
ในไฟล์ /etc/mysql/my.cnf ให้เอาเครื่องหมาย # ออกตรงบรรทัด log_bin เพื่อเปิดใช้งาน log_bin ครับ จากนั้นก็รีสตาร์ต [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/mysql-error-using-expire_logs_days-without-log_bin-crashes-the-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>เข้าสู่ระบบและถ่ายโอนข้อมูลจากเครื่องอื่นอย่างปลอดภัยด้วย SSH</title>
		<link>http://www.linuxlane.com/openssh-server-installation-configuration-centos-fedora-redhat-linux/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/openssh-server-installation-configuration-centos-fedora-redhat-linux/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 15:33:48 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Secure Shell]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=72</guid>
		<description><![CDATA[ซอฟต์แวร์ สำหรับการส่งข้อมูลผ่านทางเครือ ข่าย และการล็อกอินเข้าสู่ระบบแบบระยะไกล (Remote) บนลินุกซ์ ที่ได้รับความนิยมมากก็คือ OpenSSH เนื่องจากการติดต่อสื่อสารระหว่างเครื่องเซิร์ฟเวอร์และไคลเอนท์ จะมีการเข้ารหัสทั้งหมด ซึ่งใน OpenSSH จะรองรับ Secure Copy (SCP) และ Secure FTP (SFTP) ซึ่งจะมาแทน FTP และรองรับ Secure Shell (SSH) ซึ่งมาแทน TELNET ซึ่งในปัจจุบันOpenSSH ไม่ได้จำกัดการใช้งานอยู่ในเฉพาะลินุกซ์แล้ว ทั้ง SSH และ SCP ในส่วนของไคลเอนท์ ก็สามารถใช้งานได้ในระบบปฏิบัติการไมโครซอฟต์วินโดว์ (Microsoft Windows) ด้วย



เริ่มต้นกับ OpenSSH
โดยปกติแล้ว OpenSSH จะถูกติดตั้งมาพร้อมกับลินุกซ์อยู่แล้ว ทั้ง SSH และ SCP จะใช้คอนฟิกกูเรชั่นไฟล์ร่วมกัน ซึ่งจะอยู่ที่ไดเรคเทอรี /etc/ssh
ใน CentOS / RedHat Linux สามารถให้ SSH [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/openssh-server-installation-configuration-centos-fedora-redhat-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การติดตั้งและปรับแต่ง DHCP Server บน Fedora Core 6</title>
		<link>http://www.linuxlane.com/dhcp-server-fedora-core-6-how-to-installation/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/dhcp-server-fedora-core-6-how-to-installation/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 15:25:02 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[FC6]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=66</guid>
		<description><![CDATA[DHCP มาจาก Dynamics Host Configuration Protocol เป็นกระบวนการจัดสรรคุณสมบัติต่างๆ เพื่อใช้ในการเชื่อมต่อเครือข่าย ให้กับเครื่องภายในเครือข่ายแบบอัตโนมัติ ซึ่งคุณสมบัติต่างๆ นั้นมีทั้งหมายเลขไอพี (IP address) , เกตเวย์ (Gateway) , DNS เซิร์ฟเวอร์





ขั้นตอนการติดตั้ง DHCP Server
ขั้นตอนที่ 1
 ใส่แผ่น CD/DVD ของ Fedora Core 6 Linux แล้วทำการเมาท์ แล้วไปยังพาธที่เก็บไฟล์สำหรับติดตั้งซอฟต์แวร์ ดังนี้




[root@netserv 			~]# mount    /dev/cdrom    /mnt/cdrom
mount: 			block device /dev/cdrom is write-protected, mounting read-only
[root@netserv 			~]# cd    /mnt/cdrom/Fedora/RPMS/
[root@netserv 			RPMS]#




ขั้นตอนที่ 2
 ทำการติดตั้งโดยใช้คำสั่ง rpm ซึ่งซอฟต์แวร์สำหรับติดตั้ง DHCP เซิร์ฟเวอร์ในแผ่น [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/dhcp-server-fedora-core-6-how-to-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>การติดตั้งและปรับแต่ง DNS Server แบบ Caching-Only</title>
		<link>http://www.linuxlane.com/caching-only-dns-server-fedora-core-6-linux/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/caching-only-dns-server-fedora-core-6-linux/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 15:20:26 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[บทความ]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[FC6]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=62</guid>
		<description><![CDATA[ระบบโดเมนเนม (Domain Name System) หรือ DNS เป็นระบบที่ใช้ในการแปลงชื่อเว็บไซต์ ให้เป็นหมายเลขไอพี หรือแปลงหมายเลขไอพี ให้เป็นชื่อเว็บไซต์
ถ้าไม่มีการ ใช้ระบบโดเมนเนม เมื่อเราต้องการเข้าเว็บไซต์ต่างๆ เราต้องใช้หมายเลขไอพีแทน แต่เนื่องจากว่าหมายเลขไอพีของเครื่องเซิร์ฟเวอร์ ในระบบอินเตอร์เน็ตนั้น มีอยู่จำนวนมหาศาล จึงเป็นการยากที่จะจดจำหมายเลขไอพีว่า หมายเลขไอพีนี้เป็นของเซิร์ฟเวอร์ หรือว่าเว็บไซต์ใด





พื้นฐานคำสั่งเกี่ยวกับ DNS
คำสั่ง host จะใช้ในการตรวจสอบ dns อย่างง่าย
ตัวอย่างการใช้งาน




$ 			host www.cphow.com 
www.cphow.com has address 202.43.35.234
$ 			host 202.43.35.234
234.35.43.202.in-addr.arpa 			domain name pointer www.cphow.com.





คำสั่ง nslookupใช้ในการตรวจสอบการแปลงหมายเลขไอพี กับ โดเมนเนม
ตัวอย่างการใช้งาน




$ 			nslookup  www.cphow.com
Server: 			        202.12.97.1
Address: 			    [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/caching-only-dns-server-fedora-core-6-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>


