User Rating: / 0
PoorBest 

Bookmark and Share

If you are new to Unixmen, you may want to subscribe :

Question : How to  convert RHEL5 to Centos 5,x ?   (tutorial updated 11/11/2009)

centos

Answer : Some times you have to change from paid world to the free world, this is the way to convert your paid or your non licensed Linux RHEL to the Free cenots OS .

Under root ,

yum clean all
 mkdir ~/centos
 cd ~/centos/
 wget http://mirror.centos.org/centos/5.4/os/i386/RPM-GPG-KEY-CentOS-5
 wget http://mirror.centos.org/centos/5.4/os/i386/CentOS/centos-release-5-4.el5.centos.1.i386.rpm 
 wget http://mirror.centos.org/centos/5.4/os/i386/CentOS/centos-release-notes-5.4-4.i386.rpm   
 wget http://mirror.centos.org/centos/5.4/os/i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm
 wget http://mirror.centos.org/centos/5.4/os/i386/CentOS/yum-updatesd-0.9-2.el5.noarch.rpm 
 rpm –import RPM-GPG-KEY-CentOS-5
 rpm -e –nodeps redhat-release
 rpm -e yum-rhn-plugin
 rpm -Uvh –force *.rpm
 yum upgrade

Now you will notice that the RHN messages are gone.

you are done , Now reboot for System

 

NB : I tried this method and worked for me fine, I have no warranty that will work for you either, please repport any issue in our Forum


Related Articles By Tags:

Comments (9)
  • Nathan D
    avatar

    Will this work on a Dell Poweredge server with an active RAID?

    thx

  • pirat9
    avatar

    Yes; absolutly

  • Aravind  - System Admin
    avatar

    Hi,

    Good Job i worked for me as well. Link to the packages is outdated now pls update

    Regards,
    Aravind G V

  • zinovsky
    avatar

    Thanks for the remark, i will update the links

  • Mike Hanby  - Updated package list
    avatar

    Here's the updated package list (for x86_64) using CentOS 5.3

    $ mkdir ~/centos5
    $ cd ~/centos5
    $ wget http://mirror.centos.org/centos/RPM-GPG-KEY- CentOS-5
    $ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/centos-release-5-3.el5.centos.1.x86_64.rpm
    $ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/centos-release-notes-5.3-3.x86_64.rpm
    $ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-3.2.19-18.el5.centos.noarch.rpm
    $ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-updatesd-0.9-2.el5.noarch.rpm
    $ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-metadata-parser-1.1.2-2.el5.x86_64.rpm
    $ wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm

  • pirat9
    avatar

    #yum clean all

    #mkdir ~/packages
    #cd ~/packages/
    #wget http://mirror.centos.org/centos/5.3/os/i386/RPM- GPG-KEY-CentOS-5
    #wget http://mirror.centos.org/centos/5.3/os/i386/ CentOS/centos-release-5-3.el5.centos.1.i386.rpm
    #wget http://mirror.centos.org/centos/5.3/os/i386/ CentOS/centos-release-notes-5.3-3.i386.rpm
    #wget http://mirror.centos.org/centos/5.3/os/i386/ CentOS/yum-3.2.19-18.el5.centos.noarch.rpm

    #wget http://mirror.centos.org/centos/5.3/os/i386/ CentOS/yum-updatesd-0.9-2.el5.noarch.rpm
    #rpm –import RPM-GPG-KEY-CentOS-5
    #rpm -e –nodeps redhat-release
    #rpm -e yum-rhn-plugin
    #rpm -Uvh –force *.rpm
    #yum upgrade

  • Junko  - Red Hat to CentOS 5.4 x86_64
    avatar

    yum clean all
    mkdir centos ;cd centos

    wget http://mirror.centos.org/centos/5/os/x86_64/RPM- GPG-KEY-CentOS-5
    wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/centos-release-5-4.el5.centos.1.x86_64.rpm
    wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/centos-release-notes-5.4-4.x86_64.rpm
    wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-3.2.22-20.el5.centos.noarch.rpm
    wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-updatesd-0.9-2.el5.noarch.rpm
    wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-metadata-parser-1.1.2- 3.el5.centos.x86_64.rpm
    wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
    wget http://mirror.centos.org/centos/5/os/x86_64/ CentOS/yum-fastestmirror-1.1.16- 13.el5.centos.noarch.rpm

    rpm --import RPM-GPG-KEY-CentOS-5
    rpm -e --nodeps redhat-release
    rpm -e yum-rhn-plugin
    rpm -Uvh --force *.rpm
    yum upgrade

  • Topherdev  - RHEL 5.3 to CentOS 5.4 under VMware
    avatar

    Thanks for the article PIRAT9.

    My upgrade required this package too:

    wget://http://mirror.centos.org/centos/5.4/os/ i386/CentOS/yum-fastestmirror-1.1.16- 13.el5.centos.noarch.rpm

  • Dylan  - RHEL 5.2 to Centos 5.4 under VMware
    avatar

    Hi guys,
    Just to let you know I didn't have to be as forceful:

    Code:

    rpm --import RPM-GPG-KEY-CentOS-5
    rpm -e yum-rhn-plugin
    rpm -Uvh centos-release-5-4.el5.centos.1.x86_64.rpm centos-release-notes-5.4-4.x86_64.rpm
    rpm -Uvh yum-*
    yum upgrade
Write comment
Your Contact Details:
Gravatar enabled
Comment:
[b] [i] [u] [s] [url] [quote] [code] [img]   
:D:):(:0:shock::confused:8):lol::x:P:oops::cry:
:evil::twisted::roll::wink::!::?::idea::arrow: