<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="http://www.booservers.com/styles/rss.css" type="text/css"?>
<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns="http://my.netscape.com/rdf/simple/0.9/"
>

 <channel>
  <title>Booservers - All about dedicated servers</title>
  <link>http://www.booservers.com</link>
  <description></description>
 </channel>
    <item>
   <title>yum upgrade; redhat 9 -&gt; CentOS 3.1 </title>
   <description>&lt;p&gt;Here are the steps i took to update a Redhat 9 box running on a minimal install ( no X, etc ) as suitable for a server to CentOS 3.1 ( which is a fork of RedHat Enterprise Linux v3 )..&lt;/p&gt;&lt;p&gt;I took a fresh install of redhat 9, slapped it on a test box then updated it with up2date. I then installed yum for redhat 9 which can be found here:&lt;br /&gt;Yum Download&lt;/p&gt;&lt;p&gt;Now, you might want to rebuild the rpm database, just incase, thats up to you:&lt;br /&gt;# rpm -vv --rebuilddb&lt;/p&gt;&lt;p&gt;I then modified /etc/yum.conf to look like this:&lt;/p&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;p&gt;Code&lt;/p&gt;&lt;p&gt;---------------------------------&lt;/p&gt;&lt;p&gt;[main]&lt;br /&gt;exclude=httpd* mysql* php* perl*&lt;br /&gt;cachedir=/var/cache/yum&lt;br /&gt;debuglevel=2&lt;br /&gt;logfile=/var/log/yum.log&lt;br /&gt;pkgpolicy=newest&lt;br /&gt;distroverpkg=redhat-release&lt;br /&gt;installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise kernel-debug kernel-unsupported kernel-smp-unsupported kernel-hugemem-unsupported&lt;br /&gt;tolerant=1&lt;br /&gt;exactarch=1&lt;/p&gt;&lt;p&gt;[base]&lt;br /&gt;name=CentOS-$releasever - Base&lt;br /&gt;baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/os/i386/&lt;br /&gt;gpgcheck=1&lt;/p&gt;&lt;p&gt;#released updates&lt;br /&gt;[update]&lt;br /&gt;name=CentOS-$releasever - Updates&lt;br /&gt;baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/updates/i386/&lt;br /&gt;gpgcheck=1&lt;/p&gt;&lt;p&gt;#packages used/produced in the build but not released&lt;br /&gt;[addons]&lt;br /&gt;name=CentOS-$releasever - Addons&lt;br /&gt;baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/addons/i386/&lt;br /&gt;gpgcheck=1&lt;/p&gt;&lt;p&gt;#additional packages that may be useful&lt;br /&gt;[extras]&lt;br /&gt;name=CentOS-$releasever - Extras&lt;br /&gt;baseurl=http://mirror.pacific.net.au/linux/cAos/centos-3/3.1/extras/i386/&lt;br /&gt;gpgcheck=1&lt;/p&gt;&lt;p&gt;---------------------------------&lt;/p&gt;&lt;p&gt;Change &amp;quot;&lt;a href=&quot;http://mirror.pacific.net.au&quot;&gt;http://mirror.pacific.net.au&lt;/a&gt;&amp;quot; to a mirror near you, a list can be found here:&lt;br /&gt;CentOS Mirrors&lt;/p&gt;&lt;p&gt;After that you need to import the GPG key for the centos RPMs. Issue the following command:&lt;br /&gt;# rpm --import &lt;a href=&quot;http://mirror.centos.org/centos/3.1/i386/RPM-GPG-KEY-CentOS-3&quot;&gt;http://mirror.centos.org/centos/3.1/i386/RPM-GPG-KEY-CentOS-3&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Nows the time you want to check you have made appropriate backups, etc ( i hope you all test this out before rolling production servers! ).&lt;/p&gt;&lt;p&gt;Next step is to run the following command:&lt;br /&gt;# yum upgrade&lt;/p&gt;&lt;p&gt;This will download the rpm headers and determine what needs to be done, play carefull attention of course here and in all parts if this process for errors. Yum will then ask you if you are sure you want to go ahead, if no errors are present, press &amp;quot;y&amp;quot; then &amp;quot;enter&amp;quot;.&lt;/p&gt;&lt;p&gt;This process will take a while, depending on your connection and the gear your installing it on of course. Go brew a fresh pot of coffee, order a pizza, grab a movie or GET BACK TO WORK YOU!!!!&lt;/p&gt;&lt;p&gt;After thats done, check for errors, make sure the new kernel is installed by issueing:&lt;br /&gt;# rpm -qa|grep kernel&lt;/p&gt;&lt;p&gt;You should be presented with a kernel versioned like this: 2.4.21-15.EL.c0 as well as your other kernels previously installed. Check your boot loader to make sure the new kernel is default.&lt;/p&gt;&lt;p&gt;Finally run:&lt;br /&gt;# yum update&lt;/p&gt;&lt;p&gt;Just to ensure you have everything you need.&lt;/p&gt;&lt;p&gt;Now your set to reboot ( hopefully ):&lt;br /&gt;shutdown -rf now&lt;/p&gt;</description>
   <link>http://www.booservers.com/archivo/11_yum_upgrade_redhat_9_-_centos_31_.html</link>
      <pubDate>Thu, 15 Dec 2005 20:02:35 +0000</pubDate>   
  </item>
  </rdf:RDF>
