Upgrade Centos 5.2 to Centos 5.4

It was easier upgrading from disc than unstable network 😀

  • Download DVD ISO Centos 5.4 from centos.org
  • Upgrade from DVD
# mount /dev/dvd /media/cdrom
# yum upgrade --disablerepo=\* --enablerepo=c5-media

Be patient and wait until it finished

# reboot

Now you’ve got a nice fresh centos 5.4

# cat /etc/redhat-release
CentOS release 5.4 (Final)

done

4 Comments

  1. Godwin

    Hi
    Thank you for showing how to upgrade from a DVD.
    But I am confused about the process.
    You installed from the 5.3 DVD, but after the installation and reboot, it became 5.4. Was  there a typo here?
    I have a CentOS 5.2 machine. Do I need to upgrade 5.2 to 5.3, then to 5.4?  Or I could directly go from 5.2 to 5.4?

    Thanks a lot

  2. admin admin

    i'm sorry, actually upgrade from DVD will result v. 5.3.i was upgrading via network repository after that. my mistake ,sorry for confusion 🙂

Leave a Reply

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