Redhat 7.3, 8.0, and 9.0 upgrade to CentOS 3 using yum

Redhat 7.3, 8.0, and 9.0 upgrade to CentOS 3 using yum

Why CentOS?
CentOS ( is a rebuild/recompile of the Red Hat Enterprise Linux 3 code and is free to use. It is a great performer with cPanel, and as it is free, usually a much better alternative to RHEL.

The following tutorial is intructions on upgrading from just about any Red Hat release (below Fedora) to CentOS. This tutorial is specifically dealing with Red Hat 9 and CentOS 3.4.

As with any upgrade on a production server is is highly recommended to backup your data.

You will need to download and install Yum for this. You can download yum from:

You may also want to rebuild your RPM database:

rpm -vv –rebuilddb

You should update your /etc/yum.conf to look something like the following:

exclude=mod_ssl* httpd* perl mysql* php* #add this line for cpanel servers

name=CentOS-$releasever – Base

#released updates
name=CentOS-$releasever – Updates

#packages used/produced in the build but not released
name=CentOS-$releasever – Addons

#additional packages that may be useful
name=CentOS-$releasever – Extras

#centosplus repo – updated packages that extend beyond rhel release versions
#run auto update with this repo enabled only if you know you want extended functonality
#name=CentOS-$releasever – CentOSplus

#packages in testing
#name=CentOS-$releasever – Testing

You may want to adjust the URLs to pickup from a mirror closest to you, mirrors are available at

Import the GPG key for CentOS 3.4 rpms:

rpm –import

Start the upgrade via yum:

yum upgrade

This will take a while, and time varies depending on your connection speed. Be sure to check on progress as you will be prompted several times if you wish to continue.

You will want to check if your kernel has been properly installed and added to your bootloader.

If all looks ok you can go ahead and restart your computer:


Similar Articles : How to install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encoder, and Libog from sourceHow to install ffmpeg on CentOS or Redhat Enteprirse Linux the easy way (Using RPMs/Yum) Installing Pico on FreeBSDTurck MMCache for PHPApache 2 Install and Upgrade Guidelingerd – Setup and InstallationHowto mod_rewrite with Apache,Getting started with SSH TutorialHow to install PRM (Process Resource Monitor)How to install ionCube loaderApache Log Files ExplainedServer Loads ExplainedGuide to .htaccess tutorial and tipsOptimize and Tweak High-Traffic ServersCommon SSH Commands – Linux Shell CommandsUpgrade Guide From Red Hat 7.3 to 9.0Changing Web Hosts? Step-By-Step Guide,Customizing PHP Safe ModeApache 2 PHP 4 and 5 (mod_php) on Linux – Apache2 PHP4 PHP5 InstallationFantastico Error: is protected by SourceGuardian and requires file ixed.lin.4.X.X.pxp, 4.3.7.pxp, 4.3.8.pxp, 4.3.9.pxp errorHow to Copy Files Across a Network/Internet in UNIX/LINUX (Redhat, Debian, FreeBSD, etc) – scp tar rsyncFixing rndc error in WHM/cPanel: rnd: connection failed: connection refusedwget – how to use tuturialcPanel Awstats Fix – Stoped Logging on single domainHow to Install Zend Optimizer/Encoder on cPanel/WHMUpgrading CentOS 3.3 to 3.4 using yum,Redhat 7.3, 8.0, and 9.0 upgrade to CentOS 3 using yum (Red hat)Tutorial/HOW-TO: Kernel 2.6 Compilation with Grsecurity (grsec) – 2.6.5, 2.6.7, 2.6.8, 2.8.1, 2.6.9, 2.6.10, Repairing a mySQL Database/Table – How to restore/repair/recover,Flood Protection/DoS/DDoS Apache 1.3 and 2.0 – mod_dosevasive (Avoiding Denial of Service Attacks)