Redhat 7.3, 8.0, and 9.0 upgrade to CentOS 3 using yum
CentOS (CentOS.org) 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: http://linux.duke.edu/projects/yum/download.ptml
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
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 centos.org.
Import the GPG key for CentOS 3.4 rpms:
rpm –import http://mirror.centos.org/centos/3.4/os/i386/RPM-GPG-KEY-CentOS-3
Start the upgrade via yum:
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 source, How to install ffmpeg on CentOS or Redhat Enteprirse Linux the easy way (Using RPMs/Yum) , Installing Pico on FreeBSD, Turck MMCache for PHP, Apache 2 Install and Upgrade Guide, lingerd – Setup and Installation, Howto mod_rewrite with Apache,Getting started with SSH Tutorial, How to install PRM (Process Resource Monitor), How to install ionCube loader, Apache Log Files Explained, Server Loads Explained, Guide to .htaccess tutorial and tips, Optimize and Tweak High-Traffic Servers, Common SSH Commands – Linux Shell Commands, Upgrade Guide From Red Hat 7.3 to 9.0, Changing Web Hosts? Step-By-Step Guide,Customizing PHP Safe Mode, Apache 2 PHP 4 and 5 (mod_php) on Linux – Apache2 PHP4 PHP5 Installation, Fantastico Error: enc_restrictions.inc.php 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 error, How to Copy Files Across a Network/Internet in UNIX/LINUX (Redhat, Debian, FreeBSD, etc) – scp tar rsync, Fixing rndc error in WHM/cPanel: rnd: connection failed: connection refused, wget – how to use tuturial, cPanel Awstats Fix – Stoped Logging on single domain, How to Install Zend Optimizer/Encoder on cPanel/WHM, Upgrading 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, 188.8.131.52 , 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)