How to update CentOS 6.2/6.3/6.4/6.5 to CentOS 6.6

0

 

CentOS 6 Logo

CentOS has released its major release of CentOS 6.6 on 28th October 2014, 14 days after RHEL 6.6. Since from the day of release every one is looking for upgrading the current version to latest CentOS release. This how to is mainly focusing on upgrading previous release of CentOS 6.x to the latest. Before going to update, lets look into the main features in the latest version.

Major changes:

  1. Red Hat Enterprise Linux 6.6 includes the Open vSwitch kernel module,
  2. KeepAlived and HAProxy packages are now fully supported,
  3. Added functionality of System Security Services Daemon (SSSD) enables better interoperability of Red Hat Enterprise Linux clients with Active Directory,
  4. Performance Co-Pilot (PCP) provides a framework and services to support system-level performance monitoring and management,
  5. New hyperv-daemons packages have been added to Red Hat Enterprise Linux 6.6.

See Red Hat 6.6 Release Notes and Red Hat 6.6 Technical Notes.

Check the current version of your release.

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

Now lets look what are the updates available for your system.

# yum check-update

The following are the list of available updates for my machine.

udev.x86_64                                                                      147-2.57.el6                                                                    base
upstart.x86_64                                                                   0.6.5-13.el6_5.3                                                                base
util-linux-ng.x86_64                                                             2.17.2-12.18.el6                                                                base
xz.x86_64                                                                        4.999.9-0.5.beta.20091007git.el6                                                base
xz-libs.x86_64                                                                   4.999.9-0.5.beta.20091007git.el6                                                base
xz-lzma-compat.x86_64                                                            4.999.9-0.5.beta.20091007git.el6                                                base
yum.noarch                                                                       3.2.29-60.el6.centos                                                            base
yum-plugin-fastestmirror.noarch                                                  1.1.30-30.el6                                                                   base

If you are satisfied with the updates, lets issue the following command to install the same.

# yum update

You will get the following information with download size, you need to confirm the installation by pressing Y and Enter.

 system-config-firewall-tui                       noarch                      1.2.27-7.1.el6                                         base                          39 k
 tzdata                                           noarch                      2014j-1.el6                                            updates                      445 k
 udev                                             x86_64                      147-2.57.el6                                           base                         349 k
 upstart                                          x86_64                      0.6.5-13.el6_5.3                                       base                         177 k
 util-linux-ng                                    x86_64                      2.17.2-12.18.el6                                       base                         1.6 M
 xz                                               x86_64                      4.999.9-0.5.beta.20091007git.el6                       base                         137 k
 xz-libs                                          x86_64                      4.999.9-0.5.beta.20091007git.el6                       base                          89 k
 xz-lzma-compat                                   x86_64                      4.999.9-0.5.beta.20091007git.el6                       base                          16 k
 yum                                              noarch                      3.2.29-60.el6.centos                                   base                         1.0 M
 yum-plugin-fastestmirror                         noarch                      1.1.30-30.el6                                          base                          31 k

Transaction Summary
========================================================================================================================================================================
Install       1 Package(s)
Upgrade      99 Package(s)

Total download size: 109 M
Is this ok [y/N]: y
Downloading Packages:
(1/10): curl-7.19.7-37.el6_4_7.19.7-40.el6_6.1.x86_64.drpm                                                                                       |  99 kB     00:00
(2/10): cyrus-sasl-2.1.23-13.el6_3.1_2.1.23-15.el6_6.1.x86_64.drpm                                                                               |  66 kB     00:00
(3/10): cyrus-sasl-lib-2.1.23-13.el6_3.1_2.1.23-15.el6_6.1.x86_64.drpm                                                                           |  34 kB     00:00
(4/10): iproute-2.6.32-31.el6_2.6.32-33.el6_6.x86_64.drpm                                                                                        | 269 kB     00:00
(5/10): libcurl-7.19.7-37.el6_4_7.19.7-40.el6_6.1.x86_64.drpm                                                                                    |  54 kB     00:00
(6/10): libxml2-2.7.6-14.el6_2.7.6-17.el6_6.1.x86_64.drpm                                                                                        |  75 kB     00:00
(7/10): nss-softokn-3.14.3-9.el6_3.14.3-18.el6_6.x86_64.drpm                                                                                     |  76 kB     00:00
(8/10): nss-softokn-freebl-3.14.3-9.el6_3.14.3-18.el6_6.x86_64.drpm                                                                              |  38 kB     00:00
(9/10): openssh-5.3p1-94.el6_5.3p1-104.el6_6.1.x86_64.drpm                                                                                       | 216 kB     00:00
(10/10): rsyslog-5.8.10-8.el6_5.8.10-9.el6_6.x86_64.drpm                                                                                         | 120 kB     00:00

Once downloaded, it will automatically start installing it, accept the GPG signing key, if it prompts.

(85/90): util-linux-ng-2.17.2-12.18.el6.x86_64.rpm                                                                                               | 1.6 MB     00:00
(86/90): xz-4.999.9-0.5.beta.20091007git.el6.x86_64.rpm                                                                                          | 137 kB     00:00
(87/90): xz-libs-4.999.9-0.5.beta.20091007git.el6.x86_64.rpm                                                                                     |  89 kB     00:00
(88/90): xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.x86_64.rpm                                                                              |  16 kB     00:00
(89/90): yum-3.2.29-60.el6.centos.noarch.rpm                                                                                                     | 1.0 MB     00:00
(90/90): yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm                                                                                       |  31 kB     00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                   4.1 MB/s | 106 MB     00:26
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
 Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <[email protected]>
 Package: centos-release-6-5.el6.centos.11.1.x86_64 (@CentOS6-Base/$releasever)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : libgcc-4.4.7-11.el6.x86_64                                                                                                                         1/199
  Updating   : centos-release-6-6.el6.centos.12.2.x86_64                                                                                                          2/199
  Updating   : tzdata-2014j-1.el6.noarch                                                                                                                          3/199
  Updating   : nss-softokn-freebl-3.14.3-18.el6_6.x86_64                                                                                                          4/199
  Updating   : glibc-2.12-1.149.el6.x86_64                                                                                                                        5/199

Once completed, reboot the machine

# reboot

You can verify CentOS version.

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

That’s All!, now you have the latest version of CentOS.

You might also like