Upgrade CentOS to latest version

If you wants to upgrade CentOs version to latest version, we can do this by following some small steps .

1. We can check the current version by :

[root@server1 /]# cat /etc/redhat-release

CentOS release 5.2 (Final)

2. To upgrade :

# yum clean all

# yum update glibc*

# yum update yum* rpm* python*

# yum clean all

# yum update

If you get any dependency error of some packages, use this option:

# yum update –skip-broken

3. Reboot the machine. If its a VE,

# vzctl restart <VEID>

4. Check the version.

[root@server1 /]# cat /etc/redhat-release

CentOS release 5.5 (Final)

About mcsaormoney