<?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>pigfoot's weblog &#187; RedHat</title>
	<atom:link href="http://weblog.pigfoot.org/pigfoot/category/it/unix/linux/redhat/feed/" rel="self" type="application/rss+xml" />
	<link>http://weblog.pigfoot.org/pigfoot</link>
	<description>We should forget about small efficiencies -- Donald Knuth</description>
	<lastBuildDate>Fri, 30 Jul 2010 02:51:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Byebye! Fedora Core 1 &amp; 2, Red Hat Linux 7.3 &amp; 9.; Hello! RHEL 5</title>
		<link>http://weblog.pigfoot.org/pigfoot/2006/08/16/byebye-fedora-core-1-hello-rhel-5/</link>
		<comments>http://weblog.pigfoot.org/pigfoot/2006/08/16/byebye-fedora-core-1-hello-rhel-5/#comments</comments>
		<pubDate>Wed, 16 Aug 2006 03:10:52 +0000</pubDate>
		<dc:creator>pigfoot</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://weblog.pigfoot.org/pigfoot/2006/08/16/byebye-fedora-core-1-hello-rhel-5/</guid>
		<description><![CDATA[Announcing End of Life times (Fedora Core 1, 2, Red Hat Linux 7.3, 9) Fedora Legacy Project announces End of Life Times of Fedora Core 1 &#038; 2, Red Hat Linux 7.3 &#038; 9 as Fedora Core 6 Test 2 releases at July 26th. By the way, Red Hat is prepping Enterprise Linux 5 Desktop.]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://fedora.redhat.com/"><img align="right" class="pigfoot" src="http://fedora.redhat.com/images/header-fedora_logo01.png" /></a></p>
<p><a target="_blank" href="https://www.redhat.com/archives/fedora-legacy-list/2006-July/msg00028.html">Announcing End of Life times (Fedora Core 1, 2, Red Hat Linux 7.3, 9)</a></p>
<p><a target="_blank" href="http://www.fedoralegacy.org/">Fedora Legacy Project</a> announces End of Life Times of <strong>Fedora Core 1 &#038; 2, Red Hat Linux 7.3 &#038; 9</strong> as Fedora Core 6 Test 2 releases at July 26th.</p>
<p>By the way, Red Hat is <a target="_blank" href="http://www.crn.com/sections/channelbusiness/channelbusiness.jhtml?articleId=191000038">prepping Enterprise Linux 5 Desktop</a>.</p>
<img src="http://weblog.pigfoot.org/pigfoot/?ak_action=api_record_view&id=329&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://weblog.pigfoot.org/pigfoot/2006/08/16/byebye-fedora-core-1-hello-rhel-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to re-compile linux kernel source in RHEL 4</title>
		<link>http://weblog.pigfoot.org/pigfoot/2006/08/02/how-to-re-compile-linux-kernel-source-in-rhel-4/</link>
		<comments>http://weblog.pigfoot.org/pigfoot/2006/08/02/how-to-re-compile-linux-kernel-source-in-rhel-4/#comments</comments>
		<pubDate>Wed, 02 Aug 2006 11:22:11 +0000</pubDate>
		<dc:creator>pigfoot</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://weblog.pigfoot.org/pigfoot/2006/08/02/how-to-re-compile-linux-kernel-source-in-rhel-4/</guid>
		<description><![CDATA[If you try to re-build kernel in RHEL 4, but encounter this error message: [/usr/src/kernels/2.6.9-34.0.2.EL-i686]# make bzImage CHK include/linux/version.h CHK include/asm-i386/asm_offsets.h UPD include/asm-i386/asm_offsets.h /bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or directory make: *** [include/asm-i386/asm_offsets.h] Error 1 This is because RHEL4 doesn&#8217;t install kernel source package by default, [...]]]></description>
			<content:encoded><![CDATA[<p>If you try to re-build kernel in <acronym title="Red Hat Enterprise Linux 4">RHEL 4</acronym>, but encounter this error message:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[/usr/src/kernels/2.6.9-34.0.2.EL-i686]# make bzImage<br />
CHK include/linux/version.h<br />
CHK include/asm-i386/asm_offsets.h<br />
UPD include/asm-i386/asm_offsets.h<br />
/bin/sh: arch/i386/kernel/asm-offsets.s: No such file or directory<br />
mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or directory<br />
make: *** [include/asm-i386/asm_offsets.h] Error 1</div></div>
<p>This is because RHEL4 doesn&#8217;t install kernel source package by default, but install a package including minimum kernel header and source file (kernel-devel-$(uname -r).i686.rpm).</p>
<p>This package provides kernel headers and makefiles sufficient to build modules against the kernel package. Hence it cannot be used to build kernel source.</p>
<p>To re-build kernel, please to see the &#8220;kernel&#8221; section in the <a target="_blank" href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/release-notes/es-x86/">release-notes</a> in RHEL 4.</p>
<p>In order to eliminate the redundancy inherent in providing a separate package for the kernel source code when that source code already exists in the kernel&#8217;s .src.rpm file, Red Hat Enterprise Linux 4 no longer includes the kernel-source package. Users that require access to the kernel sources can find them in the kernel.src.rpm file.</p>
<p>To create an exploded source tree from this file, perform the following steps:</p>
<ol type="1">
<li>Obtain the kernel-<em>$(uname -r)</em>.src.rpm file from one of the following sources:
<ul type="circle">
<li>The SRPMS directory on the appropriate &#8220;SRPMS&#8221; CD iso image</li>
<li>By running the following command:<br />
<strong>up2date &#8211;get-source kernel</strong></li>
</ul>
</li>
<li>Install kernel-<em>$(uname -r)</em>.src.rpm<br />
<strong>rpm -Uvh /var/spool/up2date/kernel-$(uname -r).src.rpm</strong> (if kernel.src.rpm is gained by up2date)</li>
<li>Change directory to /usr/src/redhat/SPECS/</li>
<li><strong>rpmbuild -bp &#8211;target=<em>$(uname -m)</em> kernel-2.6.spec</strong></li>
<li>Issue the following command:<br />
<strong>make oldconfig</strong></li>
</ol>
<p>You can then proceed as usual.</p>
<img src="http://weblog.pigfoot.org/pigfoot/?ak_action=api_record_view&id=305&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://weblog.pigfoot.org/pigfoot/2006/08/02/how-to-re-compile-linux-kernel-source-in-rhel-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[RedHat] How to Fetch RPM? #1 &#8211; Fetch Manually</title>
		<link>http://weblog.pigfoot.org/pigfoot/2006/07/21/redhat-how-to-fetch-rpm-1-fetch-manually/</link>
		<comments>http://weblog.pigfoot.org/pigfoot/2006/07/21/redhat-how-to-fetch-rpm-1-fetch-manually/#comments</comments>
		<pubDate>Fri, 21 Jul 2006 12:59:36 +0000</pubDate>
		<dc:creator>pigfoot</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://weblog.pigfoot.org/pigfoot/2006/07/21/redhat-how-to-fetch-rpm-1-fetch-manually/</guid>
		<description><![CDATA[RedHat 在 RPM 推出之後, 解決了不用重新 configure ; make ; make install 的惡夢 (想想要裝新軟體的時候, 發現系統中竟然沒有 gcc 的窘境), 似乎只要會 rpm -Uvh, 就可以從此過著幸福快樂的生活. 但是事與願違, 另一個地獄卻衍生出來 &#8212; 我要去哪找 rpm 來裝? 我接下來會有這個系列幾篇的文章, 講一下怎樣安裝好 RPM. 我會拿 perl-Text-Iconv 這個還蠻多程式會用到的 perl module 來當例子. 第一個是手動的方法. 1. 判斷你要安裝的系統是哪個 linux distribution 我相信應該自己會知道是 RedHat, Gentoo, Debian, 或是 Ubuntu. 這裡只會講 RedHat Enterprise Linux (RHEL), 以及 RedHat Fedora (FC). [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.redhat.com/">RedHat</a> 在 RPM 推出之後, 解決了不用重新 configure ; make ; make install 的惡夢 (想想要裝新軟體的時候, 發現系統中竟然沒有 gcc 的窘境), 似乎只要會 rpm -Uvh, 就可以從此過著幸福快樂的生活. 但是事與願違, 另一個地獄卻衍生出來 &#8212; 我要去哪找 rpm 來裝?</p>
<p>我接下來會有這個系列幾篇的文章, 講一下怎樣安裝好 RPM. 我會拿 perl-Text-Iconv 這個還蠻多程式會用到的 perl module 來當例子.</p>
<p>第一個是手動的方法.</p>
<p><strong>1. 判斷你要安裝的系統是哪個 linux distribution</strong></p>
<p>我相信應該自己會知道是 RedHat, Gentoo, Debian, 或是 Ubuntu. 這裡只會講 <a target="_blank" href="http://www.redhat.com/rhel/">RedHat Enterprise Linux</a> (RHEL), 以及 <a target="_blank" href="http://fedora.redhat.com/">RedHat Fedora</a> (FC). 判斷的方法就是</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># cat /etc/redhat-release</div></div>
<p>比方說, 結果是 Red Hat Enterprise Linux ES release 4 (Nahant Update 3), 就是 RHEL4 ES Update3; Red Hat Enterprise Linux AS release 3 (Taroon), 就是 RHEL4 AS. Fedora 的例子比方說 Fedora Core release 3 (Heidelberg) 就是 Fedora Core 3. <strong>如果是 Red Hat Enterprise Linux 的話, 因為 RedHat 已經不提供 public binary RPM 的服務, 所以本篇對您可能沒有幫助, 請見本系列的下一篇.</strong></p>
<p><strong>2. 到 Official site 找 RPM</strong></p>
<p>根據 <a target="_blank" href="http://fedoraproject.org/wiki/Distribution/Download">Fedora Core Wiki Site</a>, Fedora 的 Official Download Location 如下:</p>
<ul>
<li>Fedora Core 5 (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/">32-bits</a>) (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/core/5/x86_64/os/Fedora/RPMS/">64-bits</a>), Fedora Extras 5 (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/extras/5/i386/">32-bits</a>) (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/extras/5/x86_64/">64-bits</a>)</li>
<li>Fedora Core 4 (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/">32-bits</a>) (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/core/4/x86_64/os/Fedora/RPMS/">64-bits</a>), Fedora Extras 4 (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/extras/4/i386/">32-bits</a>) (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/extras/4/x86_64/">64-bits</a>)</li>
<li>Fedora Core 3 (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/core/3/i386/os/Fedora/RPMS/">32-bits</a>) (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/core/3/x86_64/os/Fedora/RPMS/">64-bits</a>), Fedora Extras 3 (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/extras/3/i386/">32-bits</a>) (<a target="_blank" href="http://download.fedoraproject.org/pub/fedora/linux/extras/3/x86_64/">64-bits</a>)</li>
</ul>
<p>找到你需要的 RPM 再安裝即可. 就我們 perl-Text-Iconv 這個例子來說, 就是在 Fedora Extras 裡就可以找到 RPM 了.</p>
<p><strong>3. 到 Un-official site 找 RPM</strong></p>
<p>如果您要找的 RPM 還找不到, 那一般來說, 大家都會到 <a target="_blank" href="http://rpmfind.net/">rpmfind.net</a> 來找非官方的 RPM. 這也是個信賴度比較高的網站. 比方說, 這個 URL <a target="_blank" href="http://rpmfind.net/linux/rpm2html/search.php?system=fedora">http://rpmfind.net/linux/rpm2html/search.php?system=fedora</a> 就是只 query Fedora 的 RPM.</p>
<p>如果以上還找不到, 基本上是可以求助 <a target="_blank" href="http://www.google.com/">google</a> 大神. 不過這個就要小心那些 RPM 是不是有被放入木馬的可能性了.</p>
<img src="http://weblog.pigfoot.org/pigfoot/?ak_action=api_record_view&id=292&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://weblog.pigfoot.org/pigfoot/2006/07/21/redhat-how-to-fetch-rpm-1-fetch-manually/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
