<?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>PHP Architect blog &#187; redhat</title>
	<atom:link href="http://www.php-architect.com/blog/tag/redhat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.php-architect.com/blog</link>
	<description>me, myself, and my code</description>
	<lastBuildDate>Wed, 14 Sep 2011 12:50:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Install Yum on RHEL4</title>
		<link>http://www.php-architect.com/blog/2009/02/23/install-yum-on-rhel4/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=install-yum-on-rhel4</link>
		<comments>http://www.php-architect.com/blog/2009/02/23/install-yum-on-rhel4/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 12:09:50 +0000</pubDate>
		<dc:creator>aibrahim</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rhel4]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[yum]]></category>
		<guid isPermaLink="false">http://www.php-architect.com/blog/?p=257</guid>
		<description><![CDATA[<a href="http://www.php-architect.com/blog/2009/02/23/install-yum-on-rhel4/" title="Install Yum on RHEL4"></a>In my company they purchased some software from Autodesk that comes on Redhat Enterprise 4, i needed to install some packages on the system for the use of some internal applications, instead of installing packages and all the dependencies, i &#8230;<p class="read-more"><a href="http://www.php-architect.com/blog/2009/02/23/install-yum-on-rhel4/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.php-architect.com/blog/2009/02/23/install-yum-on-rhel4/" title="Install Yum on RHEL4"></a><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.php-architect.com/blog/2009/02/23/install-yum-on-rhel4/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><p>In my company they purchased some software from Autodesk that comes on Redhat Enterprise 4, i needed to install some packages on the system for the use of some internal applications, instead of installing packages and all the dependencies, i though using automatic installer like yum would be better, below is the steps to have yum installed on your RHEL4 machine :</p>
<p>1. Install rhel4<br />
2. Download Yum rpm package</p>
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>gd.tuwien.ac.at<span style="color: #000000; font-weight: bold;">/</span>opsys<span style="color: #000000; font-weight: bold;">/</span>linux<span style="color: #000000; font-weight: bold;">/</span>yum<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2.0</span><span style="color: #000000; font-weight: bold;">/</span>yum-2.0.5-<span style="color: #000000;">1</span>.noarch.rpm</pre></div></div>
<p>3. Install the package</p>
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rpm <span style="color: #660033;">-Uvh</span> yum-2.0.5-<span style="color: #000000;">1</span>.noarch.rpm</pre></div></div>
<p>4. Edit repositories location</p>
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>yum.conf</pre></div></div>
<p>Change the baseurl in [base] to</p>
<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">http://mirror.centos.org/centos/4/os/$basearch/</pre></div></div>
<p>Change the baseurl in [updates] to</p>
<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">http://mirror.centos.org/centos/4/updates/$basearch/</pre></div></div>
<p>5- Install the full yum with all its dependencies.</p>
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> yum</pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.php-architect.com/blog/2009/02/23/install-yum-on-rhel4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

