How To Upgrade CentOS 6.8 From CentOS 6.1/6.2/6.3/6.4/6.5/6.6/6.7

upgrade-centos-version
mm
Written By:- Santosh Prasad

If you are using CentOS OS Older version 6.x release. This article will help you to upgrade CentOS to latest release 6.8. In this new release there are lots of security changes and updates are available.

Currently I am suing CentOS 6.7, in this article I am going to upgrade this version. Follow the below steps to upgrade it.

Verify Current CentOS Release

Follow the below command to check the current release.

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

Alternatively

# cat /etc/issue
CentOS release 6.7 (Final)
Kernel \r on an \m

Upgrade CentOS to Its Latest Release

Follow the below steps to upgrade the CentOS. Before Upgrading the CentOS OS make sure you have taken backup of all your data to remote location.

Step #1: Backup all Important Data

I will suggest please take backup of below items.

  • All databases backup such as MySQL, PostgreSQL, MariaDB, etc.
  • All configuration file backup such as Apache, PHP, MySQL, DNS, etc.
  • Backup of running websites root documents.
  • Take backup of all other services if running on system.

Step #2: Upgrade CentOS

To upgrade the CentOS you can use the yum command on running system.

# yum clean all
# yum update glibc\*
# yum update rpm\* yum\* python\*
# yum clean all
# yum update

After successful completion of above command now reboot your system

# reboot

Step #3: Verify CentOS Upgrade

Your system has been upgraded successfully. Run the below command to confirm it.

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

I hope this article will help to upgrade your CentOS OS. If you have any queries and problem please comment in comment section.

Thanks:)

About Author

mm

Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Other Post by Santosh Prasad

Visit All Post

Related Article

You may also Like

Leave a Comment

Shares