<?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>NICA &#187; CentOS</title>
	<atom:link href="http://nicaliu.info/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://nicaliu.info</link>
	<description>【Nicholas, Nica &#38; Nix】接著是與 Nix 一起寫稿譯稿的日子 ~ 仍然繼續玩 Linux、OpenSource and Cloud....</description>
	<lastBuildDate>Mon, 21 May 2012 07:53:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CentOS 5.4 釋出!</title>
		<link>http://nicaliu.info/2009/10/23/2420/</link>
		<comments>http://nicaliu.info/2009/10/23/2420/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 13:49:42 +0000</pubDate>
		<dc:creator>Nica</dc:creator>
				<category><![CDATA[【技術手札】新聞]]></category>
		<category><![CDATA[CentOS]]></category>

		<guid isPermaLink="false">http://nicaliu.info/?p=2420</guid>
		<description><![CDATA[譯者：Nica &#60; nicaliu at gmail dot com &#62;
CentOS Linux 5 系列的第四版釋出了!

這次釋出的重點包括了 kernel-based 的 virtual machine 虛擬化，與伴隨 Xen 虛擬化而來的一些技術。虛擬化解決方案的擴充性已增加到支援 192 顆 CPU 與 1GB hugepages、GCC 4.4 與新 malloc()、叢集、高可用性(high-availability) 檔案系統等。可自 mirror 取得 CD image 或透過 BitTorrent 取得 32bit  、 64 bit  的 DVD。
如果已安裝執行 CentOS 5.3 或舊版 CentOS-5 分支，只需要簡單的透過 Interne 升級 就好。
原文出處：
CentOS 5.4 Released
]]></description>
		<wfw:commentRss>http://nicaliu.info/2009/10/23/2420/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>yumError @ CentOS 5.3</title>
		<link>http://nicaliu.info/2009/10/17/2387/</link>
		<comments>http://nicaliu.info/2009/10/17/2387/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 07:03:16 +0000</pubDate>
		<dc:creator>Nica</dc:creator>
				<category><![CDATA[【技術手札】筆記]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://nicaliu.info/?p=2387</guid>
		<description><![CDATA[在 centos 5.3 下執行 yum update
最後會出現一長串的錯誤訊息：
Traceback (most recent call last):
File &#8220;/usr/bin/yum&#8221;, line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)

File &#8220;/usr/share/yum-cli/yummain.py&#8221;, line 229, in user_main
errcode = main(args)
…
File &#8220;/usr/lib/python2.4/site-packages/yum/sqlitesack.py&#8221;, line 94, in _read_db_obj
setattr(self, item, _share_data(db_obj[item]))
TypeError: unsubscriptable object
參考：http://www.centos.org/modules/newbb/print.php?form=1&#38;topic_id=20237&#38;forum=37&#38;order=ASC&#38;start=0
解決方式如下：
[root@JNT ~]# yum clean all 
Loaded plugins: security
Cleaning up Everything
[root@JNT ~]# rm -f /var/lib/rpm/__db*
[root@JNT ~]# rpm &#8211;rebuilddb
[root@JNT ~]# yum update
…
成功!!!
]]></description>
		<wfw:commentRss>http://nicaliu.info/2009/10/17/2387/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>刪除重複的 RPM</title>
		<link>http://nicaliu.info/2009/02/26/1974/</link>
		<comments>http://nicaliu.info/2009/02/26/1974/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 04:52:27 +0000</pubDate>
		<dc:creator>Nica</dc:creator>
				<category><![CDATA[【技術手札】筆記]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[RPM]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://nicaliu.info/?p=1974</guid>
		<description><![CDATA[CentOS 5.2 安裝在 x86_64 的機器上一陣子後，開始安裝/移除套件時發現：有些 RPM 會出現因重複無法移除的問題。像這樣：
[root@JNT2 ~]# rpm -e kudzu-devel
error: &#8220;kudzu-devel&#8221; specifies multiple packages
解決的方式是透過 yum，它可以指定套件的架構版本。就上述而言，問題是出在於系統安裝了兩套 kudzu-devel，分別是 kudzu-devel.i386 與 kudzu-devel.x86_64，我的系統是 x86_64 的架構，所以移除掉重複的 i386 版本，應不致對系統造成影響。
因為我不會用 sed/awk，也不會寫程式，所以我的笨作法是：先列出系統安裝的所有 RPM，再排序以便找出重複的套件名稱。排序指令 sort 有一個 -u 的參數，可以在發現重複的項目時，只列出其中一個，利用此功能，我作成兩個檔案：一個有重複的套件名、一個沒有，再用 diff 進行比對，抓出重複的套件刪除之。
一、列出所有 rpm、排序後存成 sort 檔：
rpm -qa&#124; sort &#62; sort
二、列出所有 rpm、排序後過濾掉重複的套件名，存成 sortu 檔
rpm -qa&#124; sort -u  &#62; sortu
三、比對這 sort 與 sortu 檔，挑出 diff 產生的開頭 &#60; 字元 [...]]]></description>
		<wfw:commentRss>http://nicaliu.info/2009/02/26/1974/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache HTTP Server 的安全性</title>
		<link>http://nicaliu.info/2009/02/16/1934/</link>
		<comments>http://nicaliu.info/2009/02/16/1934/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 07:52:43 +0000</pubDate>
		<dc:creator>Nica</dc:creator>
				<category><![CDATA[【技術手札】HowTo]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Red Hat Enterprise Linux]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://nicaliu.info/?p=1934</guid>
		<description><![CDATA[譯者：Nica &#60; nicaliu at gmail dot com &#62;
Apache HTTP Server 是 Red Hat Enterprise Linux 下最穩也最安全的服務之一。擁有超多的選項與技術，可用來加強 Apache HTTP Server 的安全 &#8211; 因為太多，無法在此一一敘述。
在組態 Apache HTTP Serveer 時，最重要的就是要先詳讀該應用程式的文件，包括此處的 22 章 Apache HTTP server  與 Stronghold 手冊 &#8211; http://www.redhat.com/docs/manuals/stronghold/。
系統管理者在使用下列組態選項時，應該特別留意：
．FollowSymLinks
該指令預設為啟用，所以在為 Web Server 的 document root 建立 symblic link 時請特別的小心。舉例來說，不建議在這裡為 / 設定 symblic link。
．Indexes 指令
預設為啟用，但不需要。為避免訪客瀏覽你伺服器裡的檔案，請移除該指令。
【Nica 註：將 &#60;Directory &#8220;/var/www/html&#8221; 下的   [...]]]></description>
		<wfw:commentRss>http://nicaliu.info/2009/02/16/1934/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

