Upgrade to CentOS 6.2 from CentOS 6.1 / CentOS 6.0

0

CentOS 6.2 released, Here is the small tutorial about to upgrade the CentOS 6.0 and CentOS 6.1 to CentOS 6.1. This is working method as well as official method of updating CentOS.

  Before upgrading please backup your data’s such as,

  • Configuration files (/etc Directory)
  • Backup you databases (MySQL or PostgreSQL)
  • Important Log file (/var/log Directory)
  • Other important user files.

 

Step 1: Switch to root user.

[[email protected]]$ su -
Password:

Step 2: Check your current kernel.

[[email protected]]# uname -a
Linux geeksite.local 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jan 16 00:20:27 IST 2012 x86_64 x86_64 x86_64 GNU/Linux
[[email protected]]# cat /etc/centos-release
CentOS Linux release 6.0 (Final)

Step 3: Clean your yum cache.

[[email protected]]# yum clean all

Step 4: List available updates.

[[email protected]]# yum list updates

Step 5: Start upgrading CentOS.

[[email protected]]# yum update

Step 6: Reboot the Machine.

[[email protected]]# reboot

Step 7: Check the current kernel and release version

[[email protected]]# uname -a
Linux geeksite.local 2.6.32-220.el6.x86_64 #1 SMP Mon Jan 16 00:48:22 IST 2012 x86_64 x86_64 x86_64 GNU/Linux
[[email protected]]#  cat /etc/centos-release
CentOS release 6.2 (Final)

That’s all Now you have latest version of CentOS 6 on your Machine.

You might also like