john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Linux migrate from rhel to centos

migrate from redhat 5 to centos 5

sudo su

yum clean all mkdir /usr/src/centos cd /usr/src/centos

wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/centos-release-5-6.el5.centos.1.x86_64.rpm wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/centos-release-notes-5.6-0.x86_64.rpm wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-3.2.22-33.el5.centos.noarch.rpm wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.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/RPM-GPG-KEY-CentOS-5 rpm --import RPM-GPG-KEY-CentOS-5

/bin/rpm -e --nodeps redhat-release /bin/rpm -e --nodeps rhn-client-tools /bin/rpm -e --nodeps yum-rhn-plugin

(SLIGHTLY FASTER TO BATCH THE COMMANDS TOGETHER) rpm -e --nodeps redhat-release-notes redhat-release yum-rhn-plugin redhat-logos

rpm -Uvh --force *.rpm yum upgrade


  • « ebook format converter calibre
  • Gnome desktop icon text change to black »

Published

May 31, 2011

Category

linux

~63 words

Tags

  • centos 12
  • from 24
  • installs 41
  • linux 249
  • migrate 6
  • rhel 2
  • to 63