How You Upgrade CentOS 6.4 to CentOS 6.7

Firstly You check your Current CentOS Version:

CentOS  has Version detail in centos-release file which is exist in /etc directory 

[root@localhost ~]# cat /etc/centos-release 

CentOS release 6.4 (Final)
[root@localhost ~]#

Before you updating CentOS server you taken your data Backup to another machine or safe remote location .

    Backup all databases ( MySQL, PostgreSQL, etc. )
Backup all configuration files ( Apache, PHP, MySQL, DNS and Other services )
Backup all websites data running in webserver
Backup other services running on the system

Now you update your CentOS Server with the help of Yum Command

[root@localhost ~]# yum -y update

After Successful completion of Yum command you reboot your CentOS server with reboot command such as

[root@localhost ~]# reboot

Broadcast message from root@localhost.localdomain

        (/dev/pts/0) at 2:57 …

The system is going down for reboot NOW!

[root@localhost ~]#

Now your CentOS Server has been successfully   updated

[root@localhost ~]# cat /etc/centos-release

CentOS release 6.7 (Final)

[root@localhost ~]#

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s