To Upgrade from Red Hat Enterprise Linux 5 to CentOS 5.3 Using Yum
Some of the information in this article is advanced material we make available as a courtesy. Please be advised that you are responsible for properly following the procedures below. Customer Support cannot assist with these topics.
You can migrate from Red Hat Enterprise Linux 5 to CentOS 5.3 using yum through SSH.
- Connect to your server through SSH, using a client such as PUTTY.
- Enter your user name and password.
- Type su - and enter your root password.
- Run the following commands to upgrade to Cent OS 5.3:
yum clean all
mkdir ~/centos
cd ~/centos/
wget http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-5-3.el5.centos.1.i386.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-notes-5.3-3.i386.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.19-18.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-updatesd-0.9-2.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-2.el5.i386.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos/5/os/i386/CentOS/gamin-python-0.1.7-8.el5.i386.rpm
rpm --import http://mirror.centos.org/centos/5/os/i386/RPM-GPG-KEY-CentOS-5
rpm -e --nodeps redhat-release
rpm -e yum-rhn-plugin
rpm -Uvh *.rpm
yum upgradeRate this article: