<?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>SpaLinux.com - สปาลีนุกซ์ &#187; CentOS</title>
	<atom:link href="http://spalinux.com/tag/centos/feed" rel="self" type="application/rss+xml" />
	<link>http://spalinux.com</link>
	<description>เพื่อชีวิตที่ผ่อนคลายของคนใช้ลีนุกซ์</description>
	<lastBuildDate>Sat, 12 May 2012 10:38:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>เริ่มใช้ CentOS 6.2 : บู๊ต ล็อกอิน และ ปิดเครื่อง</title>
		<link>http://spalinux.com/2012/03/using-centos-6-2-boot-login-shutdown</link>
		<comments>http://spalinux.com/2012/03/using-centos-6-2-boot-login-shutdown#comments</comments>
		<pubDate>Sat, 31 Mar 2012 07:41:21 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Authentication]]></category>
		<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Linux Installation]]></category>
		<category><![CDATA[Linux Shell]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[shutdown]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1894</guid>
		<description><![CDATA[หน้าจอบู๊ตของ CentOS 6.2 หากไม่ต้องการแก้ไขค่าคอนฟิกของการบู๊ต ก็ปล่อยผ่านไป ประมาณ 5 วินาที เครื่องก็จะบู๊ตเพื่อรันเซอร์วิสต่างๆ โดยอัตโนมัติ &#160; แต่ถ้าหากต้องการเข้าหน้าเมนูบู๊ต เพื่อแก้ไขค่าคอนฟิกหรือแก้ไขปัญหาการบู๊ต ให้กดปุ่มอะไรก็ได้ จะเข้าสู่ หน้าจอเมนูบู๊ต ในหน้าจอเมนูบู๊ต หากต้องการเริ่มบู๊ตเครื่องให้กดปุ่ม [Enter] &#160; หน้าจอขึ้นแถบสี แสดงว่ากำลังรันโปรเซสหรือเซอร์วิสต่างๆ อยู่ รอจนกว่าแถบสีขาวจะเต็ม ถึงจะบู๊ตเสร็จเรียบร้อย &#160; &#160; โดยปกติการบู๊ตของ CentOS ไม่น่าจะเกิน 10 นาที (ไม่รวมการ warm-up เครื่อง) หากหน้าจอแสดงแถบสีค้าง นานเกินไป สามารถกดปุ่ม [Esc] เพื่อดูรายละเอียดการบู๊ตว่า ค้างอยู่ขั้นตอนไหน เพื่อตรวจสอบปัญหาได้ ตัวอย่างหน้าจอแสดงรายละเอียดการบู๊ต เมื่อกดปุ่ม [Esc] &#160; เมื่อบู๊ตเสร็จเรียบร้อย หน้าจอจะขึ้นตัวหนังสือแสดงเวอร์ชั่นของ CentOS และ Linux Kernel พร้อมให้ login &#160; &#160; เริ่มต้น [...]]]></description>
			<content:encoded><![CDATA[<p>หน้าจอบู๊ตของ CentOS 6.2</p>
<p>หากไม่ต้องการแก้ไขค่าคอนฟิกของการบู๊ต ก็ปล่อยผ่านไป ประมาณ 5 วินาที เครื่องก็จะบู๊ตเพื่อรันเซอร์วิสต่างๆ โดยอัตโนมัติ</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/01-Booting-CentOS.png"><span id="more-1894"></span><br />
<img class="alignnone size-full wp-image-1895" title="01-Booting-CentOS" src="http://spalinux.com/wp-content/uploads/2012/03/01-Booting-CentOS.png" alt="" width="459" height="79" /></a></p>
<p>&nbsp;</p>
<p>แต่ถ้าหากต้องการเข้าหน้าเมนูบู๊ต เพื่อแก้ไขค่าคอนฟิกหรือแก้ไขปัญหาการบู๊ต ให้กดปุ่มอะไรก็ได้ จะเข้าสู่ หน้าจอเมนูบู๊ต</p>
<p>ในหน้าจอเมนูบู๊ต หากต้องการเริ่มบู๊ตเครื่องให้กดปุ่ม [Enter]</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/02-GRUB-menu.png"><img class="alignnone size-full wp-image-1896" title="02-GRUB-menu" src="http://spalinux.com/wp-content/uploads/2012/03/02-GRUB-menu.png" alt="" width="616" height="348" /></a></p>
<p>&nbsp;</p>
<p>หน้าจอขึ้นแถบสี แสดงว่ากำลังรันโปรเซสหรือเซอร์วิสต่างๆ อยู่ รอจนกว่าแถบสีขาวจะเต็ม ถึงจะบู๊ตเสร็จเรียบร้อย</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/03-booting-slide.png"><img class="alignnone size-full wp-image-1897" title="03-booting-slide" src="http://spalinux.com/wp-content/uploads/2012/03/03-booting-slide.png" alt="" width="720" height="70" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>โดยปกติการบู๊ตของ CentOS ไม่น่าจะเกิน 10 นาที (ไม่รวมการ warm-up เครื่อง) หากหน้าจอแสดงแถบสีค้าง นานเกินไป สามารถกดปุ่ม [Esc] เพื่อดูรายละเอียดการบู๊ตว่า ค้างอยู่ขั้นตอนไหน เพื่อตรวจสอบปัญหาได้</p>
<p>ตัวอย่างหน้าจอแสดงรายละเอียดการบู๊ต เมื่อกดปุ่ม [Esc]</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/04-booting-messages.png"><img class="alignnone size-full wp-image-1898" title="04-booting-messages" src="http://spalinux.com/wp-content/uploads/2012/03/04-booting-messages.png" alt="" width="606" height="215" /></a></p>
<p>&nbsp;</p>
<p>เมื่อบู๊ตเสร็จเรียบร้อย หน้าจอจะขึ้นตัวหนังสือแสดงเวอร์ชั่นของ CentOS และ Linux Kernel พร้อมให้ login</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/05-login.png"><img class="alignnone size-full wp-image-1899" title="05-login" src="http://spalinux.com/wp-content/uploads/2012/03/05-login.png" alt="" width="387" height="99" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>เริ่มต้น login ด้วย root และใส่ password ที่ได้ระบุไว้ตอนติดตั้ง</p>
<p>หากใส่ login, password ถูกต้อง หน้าจอจะขึ้นคล้ายตัวอย่าง [root@cent6 ~]# หรือเรียกกว่า prompt ของ root</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/06-login-root.png"><img class="alignnone size-full wp-image-1900" title="06-login-root" src="http://spalinux.com/wp-content/uploads/2012/03/06-login-root.png" alt="" width="383" height="141" /></a></p>
<p>&nbsp;</p>
<p>แต่ถ้าใส่ login, password ไม่ถูกต้อง จะขึ้น Login incorrect ต้องใส่ login, password อีกครั้ง</p>
<p>หมายเหตุ สำหรับ Linux/UNIX ตัวอักษรใหญ่ เล็ก จะมีผลทั้ง login, password เช่น root ต้องพิมพ์เป็นตัวอักษรตัวเล็กทั้งหมด</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/login-incorrect.png"><img title="login-incorrect" src="http://spalinux.com/wp-content/uploads/2012/03/login-incorrect.png" alt="" width="377" height="165" /></a></p>
<p>&nbsp;</p>
<p>คำสั่งแรกที่อยากแนะนำให้รู้จักหลังจากเปิดเครื่อง บู๊ตเครื่อง ล็อกอินด้วย root ได้สำเร็จแล้ว คือคำสั่งปิดเครื่อง</p>
<p>พิมพ์คำสั่ง shutdown –h now เพื่อปิดเครื่อง</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/07-shutdown.png"><img class="alignnone size-full wp-image-1901" title="07-shutdown" src="http://spalinux.com/wp-content/uploads/2012/03/07-shutdown.png" alt="" width="382" height="159" /></a></p>
<p>&nbsp;</p>
<p>แนะนำให้ใช้คำสั่ง shutdown ทุกครั้งสำหรับการปิดเครื่อง เพื่อการปิดโปรแกรม ปิดโปรเซส ปิดเซอร์วิส อย่างถูกต้อง</p>
<p>หน้าจอแสดงรายละเอียดการปิดเซอร์วิสต่างๆ ก่อนการปิดเครื่อง</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/08-shutdown-messages.png"><img class="alignnone size-full wp-image-1902" title="08-shutdown-messages" src="http://spalinux.com/wp-content/uploads/2012/03/08-shutdown-messages.png" alt="" width="607" height="174" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2012/03/using-centos-6-2-boot-login-shutdown/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>เลือกเวอร์ชั่น CentOS ที่จะใช้ติดตั้ง</title>
		<link>http://spalinux.com/2012/03/select-centos-version-to-install</link>
		<comments>http://spalinux.com/2012/03/select-centos-version-to-install#comments</comments>
		<pubDate>Sat, 24 Mar 2012 16:27:05 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[CentOS 6]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux Installation]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1774</guid>
		<description><![CDATA[ข้อดีของลีนุกซ์ คือเราต้องการใช้ distribution ไหน เวอร์ชั่นเท่าไร ก็เข้าเว็บไซต์ (mirror site) เพื่อเลือกดาวน์โหลดไฟล์มาติดตั้งได้ โดยไฟล์ที่ดาวน์โหลดมาส่วนใหญ่จะเป็นไฟล์ ISO โหลดเสร็จสามารถนำมาเขียนใส่แผ่นซีดี หรือดีวีดี เพื่อใช้ติดตั้งบนเครื่องต่างๆ ได้ สำหรับ CentOS แนะนำให้เลือก CentOS 6 เวอร์ชั่นล่าสุด 6.2 เนื่องด้วยการพัฒนาปรับปรุงซอฟต์แวร์ต่างๆ เพื่อเพิ่มประสิทธิภาพ ความปลอดภัยของระบบมากขึ้น หากต้องการทราบรายละเอียดว่าเวอร์ชั่นใหม่มีอะไรบ้าง ให้คลิกลิ้งค์ Release Notes บนหน้าเว็บไซต์ของ CentOS (www.centos.org) &#160; เลือก Download ได้สองแบบคือ i386 หรือ x86_64 ทั้งนี้ขึ้นอยู่กับเครื่องคอมพิวเตอร์ที่จะใช้ติดตั้ง หากเป็นเครื่องเก่ามากๆ ต้องเลือกเป็น i386 เท่านั้น แต่ถ้าเป็นเครื่องใหม่ ให้เลือก x86_64 จะรองรับหน่วยความจำได้มากกว่า และใช้ประสิทธิภาพของเครื่องได้เต็มที่ ยากเหมือนกันที่จะบอกว่าเครื่องรุ่นไหน เก่าใหม่ขนาดไหน สามารถติดตั้ง x86_64 ได้ แนะนำ [...]]]></description>
			<content:encoded><![CDATA[<p>ข้อดีของลีนุกซ์ คือเราต้องการใช้ distribution ไหน เวอร์ชั่นเท่าไร ก็เข้าเว็บไซต์ (mirror site) เพื่อเลือกดาวน์โหลดไฟล์มาติดตั้งได้</p>
<p>โดยไฟล์ที่ดาวน์โหลดมาส่วนใหญ่จะเป็นไฟล์ ISO โหลดเสร็จสามารถนำมาเขียนใส่แผ่นซีดี หรือดีวีดี เพื่อใช้ติดตั้งบนเครื่องต่างๆ ได้</p>
<p>สำหรับ CentOS แนะนำให้เลือก CentOS 6 เวอร์ชั่นล่าสุด 6.2 เนื่องด้วยการพัฒนาปรับปรุงซอฟต์แวร์ต่างๆ เพื่อเพิ่มประสิทธิภาพ ความปลอดภัยของระบบมากขึ้น</p>
<p><span id="more-1774"></span></p>
<p>หากต้องการทราบรายละเอียดว่าเวอร์ชั่นใหม่มีอะไรบ้าง ให้คลิกลิ้งค์ Release Notes บนหน้าเว็บไซต์ของ CentOS (www.centos.org)</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/02-CentOS-6-Releases.png"><img class="alignnone size-full wp-image-1776" title="02-CentOS-6-Releases" src="http://spalinux.com/wp-content/uploads/2012/03/02-CentOS-6-Releases.png" alt="" width="848" height="328" /></a></p>
<p>&nbsp;</p>
<p>เลือก Download ได้สองแบบคือ i386 หรือ x86_64 ทั้งนี้ขึ้นอยู่กับเครื่องคอมพิวเตอร์ที่จะใช้ติดตั้ง</p>
<p>หากเป็นเครื่องเก่ามากๆ ต้องเลือกเป็น i386 เท่านั้น</p>
<p>แต่ถ้าเป็นเครื่องใหม่ ให้เลือก x86_64 จะรองรับหน่วยความจำได้มากกว่า และใช้ประสิทธิภาพของเครื่องได้เต็มที่</p>
<p>ยากเหมือนกันที่จะบอกว่าเครื่องรุ่นไหน เก่าใหม่ขนาดไหน สามารถติดตั้ง x86_64 ได้ แนะนำ ให้ลองลงแบบ x86_64 ดูก่อน ถ้าติดตั้งไม่ได้จริงๆ ค่อยใช้ i386</p>
<p>ตัวอย่างหน้าเว็บเมื่อคลิ้ก Download แบบ x86_64</p>
<p>ในหน้าเว็บ Download จะมีให้เลือกเว็บไซต์ (mirror) สำหรับการดาวน์โหลดไฟล์ ให้เลือกไซต์ที่คิดว่าใกล้กับคุณมากที่สุด</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/05-Mirror-list.png"><img class="alignnone size-full wp-image-1779" title="05-Mirror-list" src="http://spalinux.com/wp-content/uploads/2012/03/05-Mirror-list.png" alt="" width="800" height="362" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>ตัวอย่างเช่นเลือก mirror1.ku.ac.th หน้าเว็บแสดงไฟล์ต่างๆ มากมาย</p>
<p>สำหรับ CentOS 6.2 ที่จะใช้ติดตั้งบนเครื่อง x86_64 ได้นั้น ชื่อไฟล์จะขึ้นต้นด้วย &#8220;CentOS-6.2-x86_64-bin-DVD&#8221;</p>
<p>วิธีการที่จะโหลดไฟล์ได้นั้น มีสองวิธี</p>
<p>1. (ไม่แนะนำ เพราะจะกินแบนด์วิดท์ของเว็บไซต์มาก) ดาวน์โหลดโดยตรงจากเว็บไซต์ คลิ้กที่ไฟล์ &#8220;CentOS-6.2-x86_64-bin-DVD1.iso&#8221; และ &#8220;CentOS-6.2-x86_64-bin-DVD2.iso&#8221;</p>
<p>2. โหลดโดยใช้ bit torrent ให้คลิ้ก &#8220;CentOS-6.2-x86_64-bin-DVD1to2.torrent&#8221; เพื่อโหลดไฟล์ประเภท torrent แล้วใช้โปรแกรม bit torrent ช่วยโหลดให้อีกที</p>
<p><a href="http://spalinux.com/wp-content/uploads/2012/03/06-ku-mirror1.png"><img class="alignnone size-full wp-image-1780" title="06-ku-mirror1" src="http://spalinux.com/wp-content/uploads/2012/03/06-ku-mirror1.png" alt="" width="829" height="654" /></a></p>
<p>&nbsp;</p>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://www.centos.org/" target="_blank">www.centos.org &#8211; The Community ENTerprise Operating System</a></li>
<li><a href="http://mirror1.ku.ac.th/centos/6.2/isos/x86_64/" target="_blank">http://mirror1.ku.ac.th/centos/6.2/isos/x86_64/</a></li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2012/03/select-centos-version-to-install/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ติดตั้ง Asterisk 1.8 บน CentOS 5</title>
		<link>http://spalinux.com/2011/12/install-asterisk-1-8-on-centos-5</link>
		<comments>http://spalinux.com/2011/12/install-asterisk-1-8-on-centos-5#comments</comments>
		<pubDate>Sat, 03 Dec 2011 07:36:40 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Voice]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[pbx]]></category>
		<category><![CDATA[sip]]></category>
		<category><![CDATA[voice]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1531</guid>
		<description><![CDATA[Asterisk ถือว่าเป็นโปรแกรมสำหรับทำเป็น VoIP Server ได้ดีโปรแกรมหนึ่ง ด้วยคุณสมบัติที่มากมาย แล้วที่สำคัญยังใช้งานได้ฟรี การติดตั้ง Asterisk เพื่อทำเป็นเซิร์ฟเวอร์สามารถทำได้สองวิธีหลักๆ คือ ดาวน์โหลดไฟล์ ISO ชื่อ AsteriskNOW ที่ทางทีม Asterisk ได้จัดเตรียมโปรแกรมที่จำเป็นทั้งหมดแล้วสร้างเป็นไฟล์ ISO เพื่อให้ผู้ใช้ดาวน์โหลดไปเขียนใส่แผ่นซีดี เพื่อให้สะดวกต่อการติดตั้งและแทบจะพร้อมใช้งานได้เลย (based on CentOS 5) ดาวน์โหลดไฟล์ Asterisk Communications Engine แล้วนำมาติดตั้งเอง โดยอาจจะใช้ yum หรือติดตั้งเองด้วยไฟล์ rpm ในบทความนี้จะอธิบายวิธีการติดตั้งแบบหลัง โดยดาวน์โหลดไฟล์ rpm แล้วนำมาติดตั้งเองบน CentOS 5 เนื่องจากมีการพัฒนาปรับปรุงเวอร์ชั่นอยู่เรื่อยๆ ในที่นี้จะใช้เวอร์ชั่น 1.8.7 ณ วันที่ทดลองติดตั้ง (29/11/54) โดยติดตั้งบน CentOS 5.7 ไฟล์ rpm ที่ต้องใช้จากแผ่นดีวีดี CentOS 5.7 คือ [...]]]></description>
			<content:encoded><![CDATA[<p>Asterisk ถือว่าเป็นโปรแกรมสำหรับทำเป็น VoIP Server ได้ดีโปรแกรมหนึ่ง ด้วยคุณสมบัติที่มากมาย แล้วที่สำคัญยังใช้งานได้ฟรี</p>
<p>การติดตั้ง Asterisk เพื่อทำเป็นเซิร์ฟเวอร์สามารถทำได้สองวิธีหลักๆ คือ</p>
<ul>
<li>ดาวน์โหลดไฟล์ ISO ชื่อ AsteriskNOW ที่ทางทีม Asterisk ได้จัดเตรียมโปรแกรมที่จำเป็นทั้งหมดแล้วสร้างเป็นไฟล์ ISO เพื่อให้ผู้ใช้ดาวน์โหลดไปเขียนใส่แผ่นซีดี เพื่อให้สะดวกต่อการติดตั้งและแทบจะพร้อมใช้งานได้เลย (based on CentOS 5)</li>
<li>ดาวน์โหลดไฟล์ Asterisk Communications Engine แล้วนำมาติดตั้งเอง โดยอาจจะใช้ yum หรือติดตั้งเองด้วยไฟล์ rpm</li>
</ul>
<p>ในบทความนี้จะอธิบายวิธีการติดตั้งแบบหลัง โดยดาวน์โหลดไฟล์ rpm แล้วนำมาติดตั้งเองบน CentOS 5</p>
<p><span id="more-1531"></span></p>
<p>เนื่องจากมีการพัฒนาปรับปรุงเวอร์ชั่นอยู่เรื่อยๆ ในที่นี้จะใช้เวอร์ชั่น 1.8.7 ณ วันที่ทดลองติดตั้ง (29/11/54) โดยติดตั้งบน CentOS 5.7</p>
<p>ไฟล์ rpm ที่ต้องใช้จากแผ่นดีวีดี CentOS 5.7 คือ &#8220;yum-kmod&#8221;</p>
<pre>[root@cent57-64a CentOS]# <strong>rpm -i yum-kmod-1.1.16-16.el5.centos.noarch.rpm</strong></pre>
<hr />
<p>ดาวน์โหลดไฟล์ rpm ต่างๆ ด้านล่างจาก http://packages.digium.com/centos/5/current/x86_64/RPMS/</p>
<pre>[root@cent57-64a digium]# <strong>rpm -i dahdi-firmware-oct6114-064-1.05.01-1_centos5.noarch.rpm</strong>
[root@cent57-64a digium]# <strong>rpm -i dahdi-firmware-oct6114-128-1.05.01-1_centos5.noarch.rpm</strong>
[root@cent57-64a digium]# <strong>rpm -i dahdi-firmware-tc400m-MR6.12-1_centos5.noarch.rpm</strong>
[root@cent57-64a digium]# <strong>rpm -i dahdi-firmware-hx8-2.06-1_centos5.noarch.rpm</strong>
[root@cent57-64a digium]# <strong>rpm -i dahdi-firmware-vpmoct032-1.11.0-1_centos5.noarch.rpm</strong>
[root@cent57-64a digium]# <strong>rpm -i kmod-dahdi-linux-fwload-vpmadt032-2.5.0.2-1_centos5.<span style="color: #0000ff;">2.6.18_274.7.1.el5</span>.x86_64.rpm</strong>
<span style="color: #ff0000;">error: Failed dependencies:</span>
<span style="color: #ff0000;">        kernel-x86_64 = 2.6.18-274.7.1.el5 is needed by kmod-dahdi-linux-fwload-vpmadt032-2.5.0.2-1_centos5.2.6.18_274.7.1.el5.x86_64</span></pre>
<p>หากติดตั้งไฟล์ &#8220;kmod-dahdi-linux-fwload-vpmadt032&#8243; ไม่สำเร็จ ฟ้องข้อผิดพลาดแบบด้านบน เป็นเพราะเวอร์ชั่นของ Kernel ไม่ตรงกับไฟล์</p>
<p>ตรวจสอบเวอร์ชั่น Kernel ที่รันอยู่ และไฟล์ rpm ของ kernel ที่ติดตั้ง</p>
<pre>[root@cent57-64a digium]# <strong>uname -a</strong>
Linux cent57-64a.spalinux.com <span style="color: #ff6600;">2.6.18-274.el5</span> #1 SMP Fri Jul 22 04:43:29 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

[root@cent57-64a digium]# <strong>rpm -qa | grep kernel</strong>
kernel-headers-<span style="color: #ff6600;">2.6.18-274.el5</span>
kernel-devel-2.6.18-274.el5
kernel-2.6.18-274.el5</pre>
<p>ต้องปรับปรุง (upgrade) เวอร์ชั่นของ kernel เป็นล่าสุด โดยดูตัวอย่างวิธีปรับปรุงได้จาก  <a href="http://spalinux.com/2011/08/upgrade_kernel_on_centos_5-6">upgrade kernel บน CentOS 5.6</a></p>
<p>ตัวอย่างการ upgrade จากไฟล์ rpm ที่ดาวน์โหลดมา สังเกตว่าตัวเลข<span style="color: #0000ff;"> 2.6.18-274.7.1.el5</span> ต้องตรงกับเวอร์ชั่นของ &#8220;kmod-dahdi-linux-fwload-vpmadt032&#8243;</p>
<pre>[root@cent57-64a updates]# <strong>rpm -Uvh kernel-<span style="color: #0000ff;">2.6.18-274.7.1.el5</span>.x86_64.rpm kernel-devel-2.6.18-274.7.1.el5.x86_64.rpm kernel-headers-2.6.18-274.7.1.el5.x86_64.rpm</strong>
Preparing...                ########################################### [100%]
1:kernel                 ########################################### [ 33%]
2:kernel-devel           ########################################### [ 67%]
3:kernel-headers         ########################################### [100%]</pre>
<p>ต้องรีบู๊ตเครื่องหลัง upgrade kernel</p>
<p>ตรวจสอบเวอร์ชั่น kernel อีกครั้ง</p>
<pre>[root@cent57-64a ~]# <strong>uname -a</strong>
Linux cent57-64a.spalinux.com <span style="color: #0000ff;"><strong>2.6.18-274.7.1.el5</strong></span> #1 SMP Thu Oct 20 16:21:01 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

[root@cent57-64a ~]# <strong>rpm -qa | grep kernel</strong>
kernel-<span style="color: #0000ff;">2.6.18-274.7.1.el5</span>
kernel-devel-2.6.18-274.7.1.el5
kernel-headers-2.6.18-274.7.1.el5</pre>
<p>ทดลองติดตั้งไฟล์ &#8220;kmod-dahdi-linux-fwload-vpmadt032&#8243;</p>
<pre>[root@cent57-64a digium]#<strong> rpm -i kmod-dahdi-linux-fwload-vpmadt032-2.5.0.2-1_centos5.2.6.18_274.7.1.el5.x86_64.rpm</strong>
WARNING: /lib/modules/2.6.18-274.7.1.el5/dahdi/dahdi_vpmadt032_loader.ko needs unknown symbol vpmadtreg_unregister
WARNING: /lib/modules/2.6.18-274.7.1.el5/dahdi/dahdi_vpmadt032_loader.ko needs unknown symbol vpmadtreg_register</pre>
<p>หมายเหตุ ไม่ต้องสนใจ WARNING ที่เกิดขึ้น</p>
<pre>[root@cent57-64a digium]# <strong>rpm -i dahdi-firmware-2.0.3-1_centos5.noarch.rpm</strong></pre>
<hr />
<p>ดาวน์โหลดไฟล์ rpm ต่างๆ ด้านล่างจาก http://packages.asterisk.org/centos/5/current/x86_64/RPMS/ และติดตั้งตามลำดับ</p>
<pre>[root@cent57-64a asterisk]# <strong>rpm -i asterisknow-version-1.7.1-3_centos5.noarch.rpm</strong>
[root@cent57-64a asterisk]# <strong>rpm -i asterisk18-core-1.8.7.0-2_centos5.x86_64.rpm</strong>
[root@cent57-64a asterisk]# <strong>rpm -i kmod-dahdi-linux-2.5.0.2-1_centos5.2.6.18_274.7.1.el5.x86_64.rpm</strong>
[root@cent57-64a asterisk]# <strong>rpm -i dahdi-linux-2.5.0.2-1_centos5.x86_64.rpm</strong>
[root@cent57-64a asterisk]#<strong> rpm -i libopenr2-1.2.0-1_centos5.x86_64.rpm</strong>
[root@cent57-64a asterisk]# <strong>rpm -i libpri-1.4.11.5-1_centos5.x86_64.rpm</strong>
[root@cent57-64a asterisk]#<strong> rpm -i libss7-1.0.2-1_centos5.x86_64.rpm</strong>
[root@cent57-64a asterisk]#<strong> rpm -i libtonezone-2.5.0.2-1_centos5.x86_64.rpm</strong>
[root@cent57-64a asterisk]#<strong> rpm -i asterisk18-dahdi-1.8.7.0-2_centos5.x86_64.rpm</strong>
[root@cent57-64a asterisk]#<strong> rpm -i asterisk18-doc-1.8.7.0-2_centos5.x86_64.rpm</strong>
[root@cent57-64a asterisk]# <strong>rpm -i asterisk18-voicemail-1.8.7.0-2_centos5.x86_64.rpm</strong>
[root@cent57-64a asterisk]#<strong> rpm -i asterisk-sounds-core-en-gsm-1.4.21-1_centos5.noarch.rpm</strong>
[root@cent57-64a asterisk]#<strong> rpm -i asterisk18-configs-1.8.7.0-2_centos5.x86_64.rpm</strong></pre>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://spalinux.com/2011/08/upgrade_kernel_on_centos_5-6">upgrade kernel บน CentOS 5.6</a></li>
<li><a href="http://spalinux.com/2011/12/configure-asterisk-for-sip-client">คอนฟิก Asterisk เพื่อรองรับ SIP Client</a></li>
<li><a href="http://www.asterisk.org/" target="_blank">Asterisk &#8211; The Open Source Telephony Projects</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2011/12/install-asterisk-1-8-on-centos-5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>upgrade kernel บน CentOS 5.6</title>
		<link>http://spalinux.com/2011/08/upgrade_kernel_on_centos_5-6</link>
		<comments>http://spalinux.com/2011/08/upgrade_kernel_on_centos_5-6#comments</comments>
		<pubDate>Sun, 14 Aug 2011 16:13:18 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux Installation]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[upgrade kernel]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1450</guid>
		<description><![CDATA[ด้วยเหตุผลทางด้านประสิทธิภาพ ต้องการลงโปรแกรม library หรือ driver ของอุปกรณ์บางตัว ที่ต้องใช้ kernel เวอร์ชั่นใหม่ ในบทความนี้ ขอแนะนำวิธีการ upgrade kernel บน CentOS 5.6  โดยการดาวน์โหลดไฟล์ rpm แล้วนำมาติดตั้งเองด้วยคำสั่ง rpm คำเตือน  - การ upgrade kernel อาจมีผลกระทบกับระบบ เช่น driver ที่ติดตั้งเอง ลองบนเครื่องทดสอบให้แน่ใจก่อนปรับปรุงจริง  - หลัง upgrade kernel ต้องรีบู๊ตเครื่อง เพื่อให้ kernel ใหม่มีผล แนะนำให้อยู่หน้าเครื่องตอนรีบู๊ต เผื่อมีปัญหาจะได้แก้ไขได้ ใช้คำสั่ง uname -a เพื่อตรวจสอบเวอร์ชั่น kernel ที่รันอยู่ [root@cent56 ~]# uname -a Linux cent56.example.com 2.6.18-238.el5 #1 SMP Thu Jan [...]]]></description>
			<content:encoded><![CDATA[<p>ด้วยเหตุผลทางด้านประสิทธิภาพ ต้องการลงโปรแกรม library หรือ driver ของอุปกรณ์บางตัว ที่ต้องใช้ kernel เวอร์ชั่นใหม่</p>
<p>ในบทความนี้ ขอแนะนำวิธีการ upgrade kernel บน CentOS 5.6  โดยการดาวน์โหลดไฟล์ rpm แล้วนำมาติดตั้งเองด้วยคำสั่ง rpm</p>
<p><span id="more-1450"></span></p>
<p><span style="color: #ff0000;">คำเตือน<br />
 - การ upgrade kernel อาจมีผลกระทบกับระบบ เช่น driver ที่ติดตั้งเอง ลองบนเครื่องทดสอบให้แน่ใจก่อนปรับปรุงจริง<br />
 - หลัง upgrade kernel ต้องรีบู๊ตเครื่อง เพื่อให้ kernel ใหม่มีผล แนะนำให้อยู่หน้าเครื่องตอนรีบู๊ต เผื่อมีปัญหาจะได้แก้ไขได้</span></p>
<p>ใช้คำสั่ง uname -a เพื่อตรวจสอบเวอร์ชั่น kernel ที่รันอยู่</p>
<pre>[root@cent56 ~]# <strong>uname -a
</strong>Linux cent56.example.com <span style="color: #0000ff;">2.6.18-238.el5</span> #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux</pre>
<p>ใช้คำสั่ง rpm เพื่อดูไฟล์ rpm ของ kernel</p>
<pre>[root@cent56 ~]# <strong>rpm -qa | grep kernel
</strong>kernel-headers-2.6.18-238.el5.x86_64
kernel-2.6.18-238.el5.x86_64
kernel-devel-2.6.18-238.el5.x86_64</pre>
<p>สำหรับ CentOS สามารถดาวน์โหลดไฟล์ rpm มาจากเว็บ updates</p>
<p>เช่นเว็บ updates ของ CentOS 5.6 ในเมืองไทย สามารถดาวน์โหลดได้ที่</p>
<p>http://mirror1.ku.ac.th/centos/5.6/updates/x86_64/RPMS/</p>
<p>ตัวอย่างไฟล์ kernel ที่ต้องดาวน์โหลด เวอร์ชั่นล่าสุด ณ ตอนที่เขียนคือ 2.6.18-238.19.1</p>
<ul>
<li>kernel-2.6.18-238.19.1.el5.x86_64.rpm</li>
<li>kernel-headers-2.6.18-238.19.1.el5.x86_64.rpm</li>
<li>kernel-devel-2.6.18-238.19.1.el5.x86_64.rpm</li>
</ul>
<p>ใช้คำสั่ง rpm ด้วยออปชั่น &#8216;-U&#8217; เพื่อปรับปรุง (upgrade) ไฟล์ rpm เป็นเวอร์ชั่นใหม่</p>
<pre>[root@cent56 ~]# <strong>rpm -U kernel-2.6.18-238.19.1.el5.x86_64.rpm</strong></pre>
<pre>[root@cent56 ~]# <strong>rpm -U kernel-headers-2.6.18-238.19.1.el5.x86_64.rpm</strong></pre>
<pre>[root@cent56 ~]# <strong>rpm -U kernel-devel-2.6.18-238.19.1.el5.x86_64.rpm</strong></pre>
<p>ตรวจสอบหลังจากปรับปรุง</p>
<pre>[root@cent56 ~]# <strong>rpm -qa | grep kernel
</strong>kernel-2.6.18-238.19.1.el5.x86_64
kernel-headers-2.6.18-238.19.1.el5.x86_64
kernel-devel-2.6.18-238.19.1.el5.x86_64</pre>
<p>หากใช้วิธีนี้ในการ upgrade แบบ rpm นี้ จะมีการแก้ไขไฟล์ grub.conf โดยอัตโนมัติ</p>
<pre>[root@cent56 ~]# <strong>cat /etc/grub.conf
</strong># grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda2
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-238.19.1.el5)
        root (hd0,0)
        kernel /vmlinuz-<span style="color: #0000ff;">2.6.18-238.19.1</span>.el5 ro root=LABEL=/
        initrd /initrd-<span style="color: #0000ff;">2.6.18-238.19.1</span>.el5.img</pre>
<p>ตรวจสอบความถูกต้องของไฟล์ grub.conf  แล้วรีบู๊ตเครื่องหลังจากการ upgrade<br />
เมื่อบู๊ตเสร็จเรียบร้อย ใช้คำสั่ง uname เพื่อตรวจสอบเวอร์ชั่น kernel</p>
<pre>[root@cent56 ~]# uname -a
Linux cent56.example.com <span style="color: #0000ff;">2.6.18-238.19.1</span>.el5 #1 SMP Fri Jul 15 07:31:24 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux</pre>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2011/08/upgrade_kernel_on_centos_5-6/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ติดตั้ง Tivoli Storage Manager V6.2 Server บน CentOS 5.6 (x86_64)</title>
		<link>http://spalinux.com/2011/07/install-tivoli-storage-manager-v6-2-server-on-centos-5-6-x86_64</link>
		<comments>http://spalinux.com/2011/07/install-tivoli-storage-manager-v6-2-server-on-centos-5-6-x86_64#comments</comments>
		<pubDate>Sat, 23 Jul 2011 13:28:09 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Tivoli Storage Manager]]></category>
		<category><![CDATA[tsm]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1400</guid>
		<description><![CDATA[บทความนี้ แสดงตัวอย่างการติดตั้ง Tivoli Storage Manager V6.2 Server บน CentOS 5.6 (x86_64) แบบ command line เพื่อความสะดวก ขอเขียนย่อ Tivoli Storage Manager เป็น TSM หมายเหตุ หากท่านใด เห็นว่าบทความนี้ไม่เหมาะสม หรือถือเป็นการละเมิดลิขสิทธิ์กับ IBM โปรดแจ้งด้วยครับ ผู้เขียนไม่มีเจตนาใดๆ ทั้งสิ้น เตรียมการติดตั้ง ติดตั้งไฟล์ compat-libstdc++-33-3.2.3-61.i386.rpm ที่อยู่ในแผ่นดีวีดี ติดตั้ง CentOS 5.6 [root@cent56-tsm ~]# mount /dev/cdrom /media/ mount: block device /dev/cdrom is write-protected, mounting read-only [root@cent56-tsm ~]# cd /media [root@cent56-tsm media]# [...]]]></description>
			<content:encoded><![CDATA[<p>บทความนี้ แสดงตัวอย่างการติดตั้ง Tivoli Storage Manager V6.2 Server บน CentOS 5.6 (x86_64) แบบ command line</p>
<p>เพื่อความสะดวก ขอเขียนย่อ Tivoli Storage Manager เป็น TSM</p>
<p><span id="more-1400"></span></p>
<p><span style="color: #ff0000;">หมายเหตุ หากท่านใด เห็นว่าบทความนี้ไม่เหมาะสม หรือถือเป็นการละเมิดลิขสิทธิ์กับ IBM โปรดแจ้งด้วยครับ ผู้เขียนไม่มีเจตนาใดๆ ทั้งสิ้น</span></p>
<h4>เตรียมการติดตั้ง</h4>
<p>ติดตั้งไฟล์ compat-libstdc++-33-3.2.3-61.i386.rpm ที่อยู่ในแผ่นดีวีดี ติดตั้ง CentOS 5.6</p>
<pre>[root@cent56-tsm ~]# <strong>mount /dev/cdrom /media/
</strong>mount: block device /dev/cdrom is write-protected, mounting read-only</pre>
<pre>[root@cent56-tsm ~]# <strong>cd /media</strong></pre>
<pre>[root@cent56-tsm media]# <strong>rpm -i compat-libstdc++-33-3.2.3-61.i386.rpm</strong></pre>
<pre>[root@cent56-tsm media]# <strong>cd ~</strong></pre>
<pre>[root@cent56-tsm ~]#</pre>
<p>ปิดคุณสมบัติ selinux โดยแก้ไขไฟล์คอนฟิก /etc/sysconfig/selinux</p>
<pre>[root@cent55-sm ~]# <strong>cat /etc/sysconfig/selinux
</strong># This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
<span style="color: #0000ff;">SELINUX=disabled</span>
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted</pre>
<p>หลังแก้ไขไฟล์นี้ต้อง reboot เครื่อง หรือรันคำสั่ง setenforce 0 เพื่อให้มีผลทันที</p>
<pre>[root@cent56-tsm ~]# <strong>setenforce 0
</strong>setenforce: SELinux is disabled</pre>
<p> </p>
<h4>ติดตั้งโปรแกรม</h4>
<p>ใส่แผ่นโปรแกรม IBM Tivoli Storage Manager V6.2 Server Linux x86</p>
<pre>[root@cent56-tsm ~]# <strong>mount /dev/cdrom /media/
</strong>mount: block device /dev/cdrom is write-protected, mounting read-only</pre>
<pre>[root@cent56-tsm ~]# <strong>cd /media</strong></pre>
<pre>[root@cent56-tsm cdrom]# <strong>ls</strong>
COI  DE  install.bin  PostFailureTask.xml  README.htm</pre>
<pre>รันคำสั่ง ./install.bin เพื่อเริ่มการติดตั้ง</pre>
<pre>[root@cent56-tsm cdrom]# <strong>./install.bin
</strong>Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...</pre>
<pre>Launching installer...</pre>
<pre>Graphical installers are not supported by the VM. The console mode will be used instead...</pre>
<pre>Preparing CONSOLE Mode Installation...</pre>
<pre>===============================================================================
Choose Locale...
----------------</pre>
<pre>    1- Deutsch
  -&gt;2- English
    3- Español
    4- Français
    5- Italiano
    6- Português  (Brasil)</pre>
<pre>CHOOSE LOCALE BY NUMBER: <strong><span style="color: #0000ff;">2</span></strong></pre>
<p>เลือกภาษาที่ใช้ในการติดตั้ง</p>
<pre>===============================================================================
Tivoli Storage Manager                           (created with InstallAnywhere)
-------------------------------------------------------------------------------</pre>
<pre> </pre>
<pre>===============================================================================
Tivoli Storage Manager Install
------------------------------</pre>
<pre>Welcome
Tivoli Storage Manager 6.2</pre>
<pre>Licensed Materials - Property of IBM Corp. (c) IBM Corporation and other(s)
1994, 2010.  All rights reserved.  US Government Users Restricted Rights --
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM
Corp.</pre>
<pre>It is highly recommended that you stop all other programs before continuing
with this installation.</pre>
<pre>PRESS &lt;ENTER&gt; TO CONTINUE:</pre>
<pre>===============================================================================</pre>
<pre> </pre>
<pre>    International Program License Agreement</pre>
<pre>    Part 1 - General Terms</pre>
<pre>    BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, CLICKING ON AN
    "ACCEPT" BUTTON, OR OTHERWISE USING THE PROGRAM, LICENSEE AGREES TO
    THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCEPTING THESE TERMS ON
    BEHALF OF LICENSEE, YOU REPRESENT AND WARRANT THAT YOU HAVE FULL
    AUTHORITY TO BIND LICENSEE TO THESE TERMS. IF YOU DO NOT AGREE TO
    THESE TERMS,</pre>
<pre>    - DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, CLICK ON AN "ACCEPT" BUTTON,
    OR USE THE PROGRAM; AND</pre>
<pre>    - PROMPTLY RETURN THE UNUSED MEDIA, DOCUMENTATION, AND PROOF OF
    ENTITLEMENT TO THE PARTY FROM WHOM IT WAS OBTAINED FOR A REFUND OF THE
    AMOUNT PAID. IF THE PROGRAM WAS DOWNLOADED, DESTROY ALL COPIES OF THE
    PROGRAM.</pre>
<pre>Press Enter to continue viewing the license agreement, or enter "1" to
   accept the agreement, "2" to decline it, "3" to print it, "4" to read
   non-IBM terms, or "99" to go back to the previous screen.: <span style="color: #0000ff;"><strong>1</strong></span></pre>
<p>ยอมรับ License</p>
<pre>===============================================================================
Component Selection
-------------------</pre>
<pre>Select the components to install.</pre>
<pre>    1- Tivoli Storage Manager Server
    2- Tivoli Storage Manager Server Languages
    3- Tivoli Storage Manager License
    4- Tivoli Storage Manager Devices
    5- Tivoli Storage Manager Storage Agent</pre>
<pre>ENTER A COMMA-SEPARATED LIST OF NUMBERS REPRESENTING THE DESIRED CHOICES: <strong><span style="color: #0000ff;">1</span></strong></pre>
<p>ใส่หมายเลข 1 เพื่อเลือกติดตั้งเฉพาะ &#8220;Tivoli Storage Manager Server&#8221;</p>
<pre>===============================================================================
Deployment Engine Initialization
--------------------------------</pre>
<pre>Please Wait
....
Step 1 of 15...........
Step 2 of 15.......
Step 3 of 15...
Step 4 of 15....
Step 5 of 15...
Step 6 of 15....
Step 7 of 15......
Step 8 of 15.................
Step 9 of 15....
Step 10 of 15....
Step 11 of 15...
Step 12 of 15......
Step 13 of 15...
Step 14 of 15...
Step 15 of 15...
Completed.</pre>
<p>หากหน้าจอการติดตั้งสิ้นสุดแค่นี้ แล้วกลับคืนไปที่ shell prompt แสดงว่ามีปัญหาในการติดตั้ง</p>
<p>ใช้คำสั่ง ls เพื่อดูไฟล์ที่ได้จากการติดตั้ง ซึ่งจะอยู่ใน /opt/tivoli/tsm/</p>
<pre>[root@cent56-tsm cdrom]# <strong>ls /opt/tivoli/tsm/
</strong>Tivoli_Storage_Manager_InstallLog.log  _uninst</pre>
<p>การติดตั้งยังไม่สมบูรณ์</p>
<p>การแก้ไขปัญหา ต้องดูในไฟล์ /var/tivoli/tsm/log.txt ซึ่งจะเป็นไฟล์ที่เก็บรายละเอียดทั้งหมดในการติดตั้ง</p>
<p>สำหรับข้อผิดพลาด (error) ที่ผู้เขียนเจอ จะมีข้อความขึ้นเหมือนกับว่าไฟล์ XML ไม่ถูกต้อง</p>
<pre>[root@cent56-tsm ~]# <strong>tail /var/tivoli/tsm/log.txt</strong></pre>
<pre>Sat Jul 23 18:31:02.065 ICT 2011 :  SEVERE : Aborting installer: <span style="color: #ff0000;">XML document structures must start and end within the same entity</span>. (from com.ibm.ac.coi.ext.ia.plugin.COIProcessInventorySteps.install)</pre>
<p>แต่ปัญหาจริงๆ คือ ลง library ไม่ครบถ้วน</p>
<p>คือไม่มี compat-libstdc++-33-3.2.3-61.i386.rpm (การติดตั้ง ดูได้จากหัวข้อ เตรียมการติดตั้ง)</p>
<p>หลังจากติดตั้ง compat-libstdc++-33-3.2.3-61.i386.rpm แล้ว สามารถรันคำสั่ง ./install.bin ซ้ำได้อีกที หากไม่มีปัญหาอีก หน้าจอก็จะขึ้นข้อความถัดไป</p>
<pre>===============================================================================
Pre-Installation Summary
------------------------</pre>
<pre>Review the Following Summary Before You Continue:</pre>
<pre>Product Name:
    Tivoli Storage Manager</pre>
<pre>Install Folder:
    /opt/tivoli/tsm</pre>
<pre>Components:
    TSM Server,DB2 9.7,Global Secure Toolkit,TSM Client API 32 bit,TSM Client API 64 bit</pre>
<pre>Disk Space Information (for Installation Target):
    Required:  1,628,279,760 bytes
    Available: 13,205,897,216 bytes</pre>
<pre>PRESS &lt;ENTER&gt; TO CONTINUE:</pre>
<pre> </pre>
<pre>===============================================================================
Installing...
-------------</pre>
<pre> [==================|==================|==================|==================]
 [------------------|------------------|------------------|------------------]</pre>
<pre> </pre>
<pre>===============================================================================
Installation Complete
---------------------</pre>
<pre>The following components were successfully installed:</pre>
<pre>TSM Server
DB2 9.7
Global Secure Toolkit
TSM Client API 32 bit
TSM Client API 64 bit</pre>
<pre>See /var/tivoli/tsm/log.txt for details.</pre>
<pre>To continue, either configure a new server instance or upgrade an existing
server instance.</pre>
<pre>To configure a new server instance, choose one of the following methods:</pre>
<pre>  Log in as root user or administrator and open the local new-instance wizard,
dsmicfgx, located in the server installation directory.
  Log on to a Version 6.2 Tivoli Storage Manager Administration Center and
start the Create New Instance wizard.
  Configure the new instance manually. See the Tivoli Storage Manager
Information Center, or the Installation Guide.</pre>
<pre>To upgrade an existing server instance, log in as root user or administrator
and start the upgrade wizard, dsmupgdx, located in the server installation
directory.  You can also upgrade a server manually. See the Tivoli Storage
Manager Information Center, or the Server Upgrade Guide.</pre>
<pre>For more information about any of these tasks, see the Tivoli Storage Manager
Information Center at:
  http://publib.boulder.ibm.com/infocenter/tsminfo/v6r2</pre>
<pre>PRESS &lt;ENTER&gt; TO EXIT THE INSTALLER:</pre>
<pre>[root@cent56-tsm cdrom]#</pre>
<p>เสร็จสิ้นการติดตั้งโปรแกรม ไฟล์ที่ติดตั้งจะอยู่ใน /opt/tivoli/tsm/</p>
<pre>[root@cent56-tsm cdrom]# <strong>ls -l /opt/tivoli/tsm/
</strong>total 36
drwxr-xr-x  6 root root 4096 Jul 23 19:56 client
drwxr-xr-x 37 root root 4096 Jul 23 19:56 db2
drwxrwxr-x  2 root root 4096 Jul 23 19:53 license
drwxr-xr-x  3 root root 4096 Jul 23 19:53 server
drwxr-xr-x  2 root root 4096 Jul 23 19:53 tivinv
-rw-rw-r--  1 root root 8482 Jul 23 19:57 Tivoli_Storage_Manager_InstallLog.log
drwxrwxr-x  3 root root 4096 Jul 23 19:57 _uninst</pre>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://publib.boulder.ibm.com/infocenter/tsminfo/v6r2/index.jsp" target="_blank">IBM Tivoli Storage Manager Version 6.2 information center</a></li>
<li><a href="http://adsm.org//lists/html/ADSM-L/2009-07/msg00070.html" target="_blank">[ADSM-L] SV: TSM6.1 on Linux</a></li>
<li><a href="http://adsm.org//lists/html/ADSM-L/2010-07/msg00023.html" target="_blank">Re: [ADSM-L] Error while installing TSM 6.2 on LInux</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2011/07/install-tivoli-storage-manager-v6-2-server-on-centos-5-6-x86_64/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>แก้ปัญหาติดตั้ง CentOS 5.5 ใน VirtualBox Guest ไม่ได้</title>
		<link>http://spalinux.com/2010/07/cannot_intall_centos_5-5_in_virtualbox_guest</link>
		<comments>http://spalinux.com/2010/07/cannot_intall_centos_5-5_in_virtualbox_guest#comments</comments>
		<pubDate>Sun, 11 Jul 2010 14:45:51 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux Installation]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[I/O APIC]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=1118</guid>
		<description><![CDATA[ช่วงนี้ทดสอบ VirtualBox บนหลายๆ OS ทั้งเป็น Host และ Guest มาติดปัญหาตอนพยายามลง CentOS 5.5 ใน Guest คือบู๊ตเครื่องแล้วค้างไม่สามารถติดตั้งได้ หลังจากหาวิธีการแก้ไขปัญหาได้แล้ว เลยมาแชร์กัน PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report NetLabel: Initializing NetLabel:  domain hash size = 128 NetLabel:  protocols = UNLABELED CIPSOv4 NetLabel:  unlabeled traffic allowed by default ACPI: [...]]]></description>
			<content:encoded><![CDATA[<p>ช่วงนี้ทดสอบ VirtualBox บนหลายๆ OS ทั้งเป็น Host และ Guest มาติดปัญหาตอนพยายามลง CentOS 5.5 ใน Guest คือบู๊ตเครื่องแล้วค้างไม่สามารถติดตั้งได้ หลังจากหาวิธีการแก้ไขปัญหาได้แล้ว เลยมาแชร์กัน</p>
<pre><span id="more-1118"></span>PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
ACPI: DMAR not present
<span style="color: #ff0000;">PCI-GART: No AMD northbridge found.
</span>NET: Registered protocol family 2</pre>
<p>คอนฟิกที่ใช้สร้าง Guest คือ</p>
<pre>$ <strong>VBoxManage showvminfo "CentOS-5.5"
</strong>Oracle VM VirtualBox Command Line Management Interface Version 3.2.6
(C) 2005-2010 Oracle Corporation
All rights reserved.</pre>
<pre>Name:            CentOS-5.5
Guest OS:        Red Hat (64 bit)
UUID:            xxx
...
Memory size:     2048MB
Page Fusion:     off
VRAM size:       8MB
HPET:            off
Number of CPUs:  1
Synthetic Cpu:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
<strong><span style="color: #0000ff;">IOAPIC:          off
</span></strong>PAE:             on
...</pre>
<p>หลังจากค้นหาวิธีการแก้ไขด้วย google ก็พบวิธีแก้ไข คือต้องเปิดคุณสมบัติ I/O APIC</p>
<p>ปิด Guest OS แล้วใช้คำสั่ง VBomxManage modifyvm เพื่อแก้ไขคอนฟิกของ Guest วิธีการเปิด/ปิด คุณสมบัติ I/O APIC</p>
<pre>$ VBoxManage modifyvm &lt;uuid|name&gt; [--ioapic on|off]</pre>
<p>ตัวอย่างการเปิดคุณสมบัติ I/O APIC</p>
<pre>$ <strong>VBoxManage modifyvm "CentOS-5.5" --ioapic on
</strong>Oracle VM VirtualBox Command Line Management Interface Version 3.2.6
(C) 2005-2010 Oracle Corporation
All rights reserved.</pre>
<p>ตรวจสอบคอนฟิกหลังการแก้ไข</p>
<pre>$ <strong>VBoxManage showvminfo "CentOS-5.5"
</strong>...
ACPI:            on
<strong><span style="color: #0000ff;">IOAPIC:          on
</span></strong>PAE:             on
...</pre>
<p>เปิด Guest OS อีกครั้งแล้วทดลองติดตั้ง CentOS 5.5 อีกที</p>
<h4>ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://forums.virtualbox.org/viewtopic.php?f=3&amp;t=19658" target="_blank">Unable to install Centos 5.2 64bit as guest.</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2010/07/cannot_intall_centos_5-5_in_virtualbox_guest/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ใช้ลีนุกซ์ระดับ Enterprise ด้วย CentOS 5.3</title>
		<link>http://spalinux.com/2009/05/using_enterprise_class_linux_with_centos_53</link>
		<comments>http://spalinux.com/2009/05/using_enterprise_class_linux_with_centos_53#comments</comments>
		<pubDate>Sat, 02 May 2009 10:03:07 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Linux Installation]]></category>
		<category><![CDATA[CentOS]]></category>

		<guid isPermaLink="false">http://spalinux.com/?p=563</guid>
		<description><![CDATA[CentOS (Community ENTerprise Operating System) เป็น Linux Distribution หนึ่งที่มีคนนิยมใช้พอสมควร ด้วยเหตุผลหลักๆ สองประการคือ หนึ่ง โปรแกรมที่ได้จากติดตั้งเหมือนหรือใกล้เคียงกับการใช้แบบ Commercial Distribution เวอร์ชั่นของ kernel เหมือนกัน แม้กระทั่งเวอร์ชั่นของ distribution ก็ใช้ตัวเลขเดียวกัน  ทำให้เวลาติดตั้งโปรแกรมเพิ่มเติมประเภท third party หรือ commercial สามารถทำได้อย่างง่าย เช่นสามารถใช้ไฟล์ RPM เดียวกันได้เลย อีกประการหนึ่งคือสามารถใช้ได้ฟรีอย่างถูกต้องโดยไม่ต้องจ่ายค่า license แต่ข้อเสียคือจะไม่ได้รับการสนับสนุนจากบริษัทที่เป็นเจ้าของ Commercial Distribution เหตุที่โปรแกรมเหมือนกัน เพราะผู้พัฒนา CentOS ใช้ source ของโปรแกรมเหมือนกัน แต่ทำการ compile หรือ rebuild โปรแกรมขึ้นมาใหม่ โดยเอาโลโก้หรือบางส่วนที่มีลิขสิทธิ์ออกไป บทความนี้ขอแสดงตัวอย่างการติดตั้ง CentOS 5.3 เพื่อเป็นข้อมูลให้ผู้สนใจทั่วไปสามารถนำไปเปรียบเทียบกับการใช้ Commercial Distribution การติดตั้ง CentOS [...]]]></description>
			<content:encoded><![CDATA[<p>CentOS (Community ENTerprise Operating System) เป็น Linux Distribution หนึ่งที่มีคนนิยมใช้พอสมควร ด้วยเหตุผลหลักๆ สองประการคือ หนึ่ง โปรแกรมที่ได้จากติดตั้งเหมือนหรือใกล้เคียงกับการใช้แบบ Commercial Distribution เวอร์ชั่นของ kernel เหมือนกัน แม้กระทั่งเวอร์ชั่นของ distribution ก็ใช้ตัวเลขเดียวกัน  ทำให้เวลาติดตั้งโปรแกรมเพิ่มเติมประเภท third party หรือ commercial สามารถทำได้อย่างง่าย เช่นสามารถใช้ไฟล์ RPM เดียวกันได้เลย</p>
<p>อีกประการหนึ่งคือสามารถใช้ได้ฟรีอย่างถูกต้องโดยไม่ต้องจ่ายค่า license แต่ข้อเสียคือจะไม่ได้รับการสนับสนุนจากบริษัทที่เป็นเจ้าของ Commercial Distribution</p>
<p>เหตุที่โปรแกรมเหมือนกัน เพราะผู้พัฒนา CentOS ใช้ source ของโปรแกรมเหมือนกัน แต่ทำการ compile หรือ rebuild โปรแกรมขึ้นมาใหม่ โดยเอาโลโก้หรือบางส่วนที่มีลิขสิทธิ์ออกไป</p>
<p>บทความนี้ขอแสดงตัวอย่างการติดตั้ง CentOS 5.3 เพื่อเป็นข้อมูลให้ผู้สนใจทั่วไปสามารถนำไปเปรียบเทียบกับการใช้ Commercial Distribution</p>
<p><span id="more-563"></span></p>
<h4>การติดตั้ง CentOS 5.3</h4>
<p>สามารถดูแหล่งดาวน์โหลดไฟล์ DVD Image ได้จากข้อมูลอ้างอิงตอนท้ายของบทความนี้ ในบทความนี้เลือกใช้ไฟล์ Image ชือ CentOS-5.3-x86_64-bin-DVD.iso</p>
<p>หน้าจอการบู๊ตเพื่อการติดตั้งของ CentOS 5.3 เลือกติดตั้งแบบ text mode โดยพิมพ์คำว่า linux text ลงไปแล้วกดปุ่ม [enter]</p>
<p><img class="alignnone size-full wp-image-564" title="CentOS 5.3 Installation Boot Screen" src="http://spalinux.com/wp-content/uploads/2009/05/01-centos-53_installation_boot_screen.png" alt="CentOS 5.3 Installation Boot Screen" width="640" height="480" /></p>
<p>เลือกให้สร้าง partition เป็นแบบดีฟอลต์โดยอัตโนมัติ</p>
<p><span style="color: #ff0000;"><strong>คำเตือน การเลือกแบบนี้ Remove all partitions on selected drives and create default layout. จะทำลายข้อมูลทั้งหมดในดิสก์ก้อนที่ใช้</strong></span></p>
<p><img class="alignnone size-full wp-image-565" title="Centos 5.3 Installation Partitioning Type" src="http://spalinux.com/wp-content/uploads/2009/05/02-centos-53_installation_partitioning_type.png" alt="Centos 5.3 Installation Partitioning Type" width="720" height="400" /></p>
<p>การสร้าง parition โดยดีฟอลต์จะลบข้อมูลทั้งหมดของดิสก์ออกและสร้าง partition ใหม่ดังนี้</p>
<ul>
<li>partition /boot สำหร้บเก็บ kernel และไฟล์ที่ใช้ในการบู๊ต ขนาดประมาณ 100 MBytes</li>
<li>partition swap ขนาดเท่ากับสองเท่าของ memory ของเครื่อง เช่นในที่นี้เครื่องมี memory ขนาด 512 MBytes ขนาด swap ที่สร้าง เท่าก้บ 1024 MBytes</li>
<li>ขนาดดิสก์ที่เหลือถูกสร้างเป็น partition /</li>
</ul>
<p><img class="alignnone size-full wp-image-566" title="CentOS 5.3 Installation Partitoning" src="http://spalinux.com/wp-content/uploads/2009/05/03-centos-53_installation_partitoning.png" alt="CentOS 5.3 Installation Partitoning" width="720" height="400" /></p>
<p>ในหน้า Package Selection จะแตกต่างจาก commercial คือ สามารถเลือกได้ว่าจะติดตั้งแบบไหน เป็นแบบ Desktop แบบ Gnome หรือ KDE หรือจะติดตั้งเป็น Server ที่มี GUI หรือไม่ ส่วน commercial จะขายแยกเป็น Desktop หรือ Server</p>
<p><img class="alignnone size-full wp-image-567" title="CentOS 5.3 Installation Package Selection" src="http://spalinux.com/wp-content/uploads/2009/05/04-centos-53_installation_package_selection.png" alt="CentOS 5.3 Installation Package Selection" width="720" height="400" /></p>
<p> หน้าจอรายละเอียดของ Package Group ที่จะติดตั้ง จะมีให้เลือกครบทั้ง Desktop และ Server ในที่นี้จะเลือกเฉพาะ Base ซึ่งเป็นไฟล์พื้นฐานสำหรับลีนุกซ์</p>
<p><img class="alignnone size-full wp-image-568" title="CentOS 5.3 Installation Package Group Selection" src="http://spalinux.com/wp-content/uploads/2009/05/05-centos-53_installation_package_group_selection.png" alt="CentOS 5.3 Installation Package Group Selection" width="720" height="400" /></p>
<p>การติดตั้งเฉพาะ Base จะใช้เนื้อที่ดิสก์ประมาณ 713 MBytes</p>
<p><img class="alignnone size-full wp-image-569" title="CentOS 5.3 Installation Package Installation" src="http://spalinux.com/wp-content/uploads/2009/05/06-centos-53_installation_package_installation.png" alt="CentOS 5.3 Installation Package Installation" width="720" height="400" /></p>
<p> </p>
<h4>การบู๊ตของ CentOS 5.3</h4>
<p>หน้าจอแสดงการบู๊ตของ CentOS 5.3</p>
<p><img class="alignnone size-full wp-image-570" title="CentOS 5.3 Booting Screen" src="http://spalinux.com/wp-content/uploads/2009/05/07-centos-53_booting_screen.png" alt="CentOS 5.3 Booting Screen" width="640" height="480" /></p>
<p> หน้าจอแสดงการโหลด kernel เวอร์ชั่น 2.6.18-128.el5 ซึ่งเป็นเวอร์ชั่นเดียวกับ commercial</p>
<p><img class="alignnone size-full wp-image-571" title="CentOS 5.3 Loading Kernel" src="http://spalinux.com/wp-content/uploads/2009/05/08-centos-53_loading_kernel.png" alt="CentOS 5.3 Loading Kernel" width="720" height="400" /></p>
<p> การบู๊ตเครื่องครั้งแรกหลังการติดตั้ง มีโปรแกรม Setup Agent ช่วยในการคอนฟิกค่าพื้นฐานเหมือนกัน แต่ไม่มีเมนู Register สำหรับลงทะเบียนการใช้งานโปรแกรม</p>
<p><img class="alignnone size-full wp-image-572" title="CentOS 5.3 Setup Agent" src="http://spalinux.com/wp-content/uploads/2009/05/09-centos-53_setup_agent.png" alt="CentOS 5.3 Setup Agent" width="720" height="400" /></p>
<p>หน้าจอคอนโซลสำหรับ login</p>
<p><img class="alignnone size-full wp-image-573" title="CentOS 5.3 Login" src="http://spalinux.com/wp-content/uploads/2009/05/10-centos-53_login.png" alt="CentOS 5.3 Login" width="720" height="400" /></p>
<h4> <br />
ข้อมูลอ้างอิง</h4>
<ul>
<li><a href="http://mirror.centos.org/centos/5/isos/" target="_blank">ดาวน์โหลด CentOS 5.3</a></li>
<li><a href="http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.3" target="_blank">CentOS 5.3 Release Notes</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://spalinux.com/2009/05/using_enterprise_class_linux_with_centos_53/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

