Upgrade RH9 to CentOS 3

rpm –import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-3
cd /etc/
cp yum.conf yum.conf.rh9
vi yum.conf
—————————————
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise kernel-debug kernel-unsupported kernel-smp-unsupported kernel-hugemem-unsupported
tolerant=1
exactarch=1

[base]
name=CentOS-$releasever – Base
baseurl=http://mirror.centos.org/centos/3.5/os/$basearch/

#released updates
[update]
name=CentOS-$releasever – Updates
baseurl=http://mirror.centos.org/centos/3.5/updates/$basearch/
——————————————
rpm -vv –rebuilddb
rpm -qa | grep config
yum upgrade rpm kernel
reboot
rpm -vv –rebuilddb
yum install kernel-smp
reboot
yum upgrade
reboot

Leave a comment

Your email address will not be published. Required fields are marked *