To update CentOS 5.0 to CentOS 5.1, all you have to do is type in yum update from the Terminal window. This command will automatically get the updated packages over the internet. But if you have the CentOS 5.1 DVD, the steps below will show you how to update from that.
1. Insert the CentOS 5.1 DVD into the DVD drive and double click the Computer icon in the CentOS Desktop.
4. From a terminal window, type in ln -sf /media/CentOS_5.1_Final /media/CentOS and press Enter. This enables the CentOS 5.1 DVD to be located on the yum search path.
5. Edit the file /etc/yum.repos.d/CentOS-Media.repo and change beta into CentOS-5 in the line gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta.
6. Finally, type in yum --disablerepo=* --enablerepo=c5-media and press Enter to begin the update process.
0 comments:
Post a Comment