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.

Desktop1. Insert the CentOS 5.1 DVD into the DVD drive and double click the Computer icon in the CentOS Desktop.
File Browser Computer2. On the Computer - File Browser window, double click on the CD-ROM Drive.
File Browser DVD3. The CentOS 5.1 DVD should now be available on /media/CentOS_5.1_Final.
Terminal4. 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.
CentOS-Media.repo5. 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.
Terminal6. Finally, type in yum –disablerepo=* –enablerepo=c5-media and press Enter to begin the update process.

NoteFor 64-bit users: You need to add the line login_process_size = 64 in the file /etc/dovecot.conf and restart dovecot after upgrading.

***
Posted on 3/2/2008 and last updated on 3/12/2008
Filed under CentOS 5


Share This