Upgrade to CentOS 6.2 from CentOS 6.1 / CentOS 6.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.

[geeksite@geeksite]$ su -

Step 2: Check your current kernel.

[root@geeksite]# 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
[root@geeksite]# cat /etc/centos-release
CentOS Linux release 6.0 (Final)

Step 3: Clean your yum cache.

[root@geeksite]# yum clean all

Step 4: List available updates.

[root@geeksite]# yum list updates

Step 5: Start upgrading CentOS.

[root@geeksite]# yum update

Step 6: Reboot the Machine.

[root@geeksite]# reboot

Step 7: Check the current kernel and release version

[root@geeksite]# 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
[root@geeksite]#  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