As per my previous post, CentOS 5.9 now available for download on 17 January 2013. This is the ninth update to the CentOS 5 distribution series and it’s contains a lot of bugfixes, updates and new functionality if compared than CentOS 5.8. This post assumed that you have already installed CentOS 5.8 and planned to upgrade to CentOS 5.9. The steps to upgrade is very simple as easy you update the software such as httpd or php. For internet webmasters or bloggers who currently run CentOS 5.8 or older version of virtual private server (VPS) to host their blog or homepage also may use this steps to upgrade their CentOS 5.5/CentOS 5.6/CentOS 5.7/CentOS 5.8 VPS server.
Steps to Update from CentOS 5.8 or older version to CentOS 5.9 :
1. Run “yum list updates”
[root@centos58 ~]# yum list updates
This is to get a list of packages that are going to be updated.
2. Verify the current version of CentOS 5.
[root@centos58 ~]# cat /etc/redhat-release CentOS release 5.8 (Final)
3. Update CentOS 5.8 server via yum by issue the following command :
[root@centos58 ~]# yum update -y
Example :
[root@centos58 ~]# yum update -y Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.ipserverone.com * extras: centos.ipserverone.com * updates: centos.ipserverone.com Setting up Update Process .. .. .. Running Transaction Updating : tzdata 1/239 Updating : glibc-common 2/239 Updating : crontabs 3/239 Updating : hwdata 4/239 Updating : centos-release-notes 5/239 Updating : centos-release 6/239 Updating : tzdata-java 7/239 Updating : nash 8/239 Updating : selinux-policy 9/239 Updating : aspell-en 10/239 Updating : libgcc 11/239 Updating : glibc 12/239 Updating : zlib 13/239 Updating : e2fsprogs-libs 14/239 Updating : openssl 15/239 Updating : php53-common 16/239 Updating : nspr 17/239 Updating : nss 18/239 Updating : libxml2 19/239 Updating : popt 20/239 Updating : cyrus-sasl-lib 21/239 Updating : libstdc++ 22/239 Updating : openldap 23/239 Updating : sqlite 24/239 Updating : shadow-utils 25/239 Updating : gawk 26/239 Updating : libpng 27/239 Updating : expat 28/239 Updating : freetype 29/239 Updating : php53-pdo 30/239 Updating : net-snmp-libs 31/239 Updating : libgcrypt 32/239 Updating : gdbm 33/239 Updating : perl 34/239 Updating : e2fsprogs 35/239 Updating : diffutils 36/239 Updating : libxslt 37/239 Updating : libtiff 38/239 Updating : gtk2 39/239 Updating : libgcj 40/239 Updating : mozldap 41/239 Updating : postgresql-libs 42/239 Updating : file 43/239 Updating : libvolume_id 44/239 Updating : kpartx 45/239 Updating : procps 46/239 Updating : lvm2 47/239 Updating : device-mapper-multipath 48/239 Updating : logrotate 49/239 Updating : php53-cli 50/239 Updating : nss-tools 51/239 Updating : cpio 52/239 Updating : tar 53/239 Updating : psmisc 54/239 Updating : iproute 55/239 Updating : gnutls 56/239 Updating : cyrus-sasl-gssapi 57/239 Updating : cyrus-sasl-md5 58/239 Updating : tcl 59/239 Updating : php53-pgsql 60/239 Updating : mozldap-tools 61/239 Updating : php53-xml 62/239 Updating : grub 63/239 Updating : php53-odbc 64/239 Updating : php53-gd 65/239 Updating : vim-common 66/239 Updating : php53-ldap 67/239 Updating : openldap-clients 68/239 Updating : php53-xmlrpc 69/239 Updating : php53-soap 70/239 Updating : php53-intl 71/239 Updating : php53-mbstring 72/239 Updating : php53-pspell 73/239 Updating : php53-dba 74/239 Updating : php53-process 75/239 Updating : php53-bcmath 76/239 Updating : wget 77/239 Updating : iptables 78/239 Updating : binutils 79/239 Updating : ftp 80/239 Updating : vim-minimal 81/239 Updating : jpackage-utils 82/239 Updating : java-1.6.0-openjdk 83/239 Updating : coreutils 84/239 Updating : python 85/239 Updating : pam 86/239 Updating : udev 87/239 Updating : util-linux 88/239 Updating : initscripts 89/239 Updating : rpm-libs 90/239 Updating : rpm 91/239 Updating : httpd 92/239 Updating : mysql 93/239 Updating : iscsi-initiator-utils 94/239 Updating : python-libs 95/239 Updating : python-iniparse 96/239 Updating : selinux-policy-targeted 97/239 Updating : rpm-python 98/239 Updating : net-snmp 99/239 Updating : kbd 100/239 Updating : yum-metadata-parser 101/239 Updating : mkinitrd 102/239 Updating : php53 103/239 Updating : libuser 104/239 Updating : php53-snmp 105/239 Updating : php53-mysql 106/239 Updating : mysql-server 107/239 Updating : mod_nss 108/239 Updating : mod_ssl 109/239 Updating : man 110/239 Updating : dhclient 111/239 Updating : nfs-utils 112/239 Updating : php53-imap 113/239 Updating : m2crypto 114/239 Updating : php53-devel 115/239 Installing : kernel 116/239 Updating : yum 117/239 Updating : hal 118/239 Updating : pm-utils 119/239 Updating : kudzu 120/239 Cleanup : libxml2 121/239 Cleanup : tzdata-java 122/239 Cleanup : mozldap 123/239 Cleanup : php53-intl 124/239 Cleanup : device-mapper-multipath 125/239 Cleanup : libgcrypt 126/239 Cleanup : openssl 127/239 Cleanup : selinux-policy-targeted 128/239 Cleanup : expat 129/239 Cleanup : php53-common 130/239 Cleanup : man 131/239 Cleanup : php53-gd 132/239 Cleanup : libgcc 133/239 Cleanup : cpio 134/239 Cleanup : php53-xml 135/239 Cleanup : tcl 136/239 Cleanup : python-iniparse 137/239 Cleanup : dhclient 138/239 Cleanup : file 139/239 Cleanup : php53-mbstring 140/239 Cleanup : php53-pdo 141/239 Cleanup : perl 142/239 Cleanup : nspr 143/239 Cleanup : php53-ldap 144/239 Cleanup : initscripts 145/239 Cleanup : selinux-policy 146/239 Cleanup : diffutils 147/239 Cleanup : gtk2 148/239 Cleanup : jpackage-utils 149/239 Cleanup : rpm-python 150/239 Cleanup : kudzu 151/239 Cleanup : mysql 152/239 Cleanup : tar 153/239 Cleanup : popt 154/239 Cleanup : cyrus-sasl-lib 155/239 Cleanup : libvolume_id 156/239 Cleanup : net-snmp-libs 157/239 Cleanup : nfs-utils 158/239 Cleanup : vim-common 159/239 Cleanup : iptables 160/239 Cleanup : mkinitrd 161/239 Cleanup : php53-xmlrpc 162/239 Cleanup : python-libs 163/239 Cleanup : mod_nss 164/239 Cleanup : aspell-en 165/239 Cleanup : php53-pspell 166/239 Cleanup : openldap-clients 167/239 Cleanup : php53-dba 168/239 Cleanup : psmisc 169/239 Cleanup : libxslt 170/239 Cleanup : centos-release-notes 171/239 Cleanup : libtiff 172/239 Cleanup : gdbm 173/239 Cleanup : iscsi-initiator-utils 174/239 Cleanup : zlib 175/239 Cleanup : hwdata 176/239 Cleanup : util-linux 177/239 Cleanup : wget 178/239 Cleanup : libpng 179/239 Cleanup : logrotate 180/239 Cleanup : iproute 181/239 Cleanup : hal 182/239 Cleanup : freetype 183/239 Cleanup : php53-mysql 184/239 Cleanup : php53-process 185/239 Cleanup : rpm 186/239 Cleanup : nss 187/239 Cleanup : crontabs 188/239 Cleanup : postgresql-libs 189/239 Cleanup : libuser 190/239 Cleanup : e2fsprogs-libs 191/239 Cleanup : libgcj 192/239 Cleanup : sqlite 193/239 Cleanup : shadow-utils 194/239 Cleanup : openldap 195/239 Cleanup : httpd 196/239 Cleanup : java-1.6.0-openjdk 197/239 Cleanup : coreutils 198/239 Cleanup : binutils 199/239 Cleanup : m2crypto 200/239 Cleanup : ftp 201/239 Cleanup : kpartx 202/239 Cleanup : centos-release 203/239 Cleanup : php53-snmp 204/239 Cleanup : e2fsprogs 205/239 Cleanup : gawk 206/239 Cleanup : yum-metadata-parser 207/239 Cleanup : tzdata 208/239 Cleanup : php53-odbc 209/239 Cleanup : mod_ssl 210/239 Cleanup : procps 211/239 Cleanup : libstdc++ 212/239 Cleanup : cyrus-sasl-gssapi 213/239 Cleanup : vim-minimal 214/239 Cleanup : php53-soap 215/239 Cleanup : mysql-server 216/239 Cleanup : kbd 217/239 Cleanup : pm-utils 218/239 Cleanup : gnutls 219/239 Cleanup : yum 220/239 Cleanup : php53-pgsql 221/239 Cleanup : glibc-common 222/239 Cleanup : mozldap-tools 223/239 Cleanup : glibc 224/239 Cleanup : php53-devel 225/239 Cleanup : lvm2 226/239 Cleanup : python 227/239 Cleanup : php53-imap 228/239 Cleanup : cyrus-sasl-md5 229/239 Cleanup : php53-cli 230/239 Cleanup : grub 231/239 Cleanup : pam 232/239 Cleanup : php53-bcmath 233/239 Cleanup : rpm-libs 234/239 Cleanup : php53 235/239 Cleanup : udev 236/239 Cleanup : net-snmp 237/239 Cleanup : nash 238/239 Cleanup : nss-tools 239/239 Installed: kernel.i686 0:2.6.18-348.1.1.el5 Updated: aspell-en.i386 50:6.0-3 binutils.i386 0:2.17.50.0.6-20.el5_8.3 centos-release.i386 10:5-9.el5.centos.1 centos-release-notes.i386 0:5.9-0 coreutils.i386 0:5.97-34.el5_8.1 cpio.i386 0:2.6-25.el5 crontabs.noarch 0:1.10-11.el5 cyrus-sasl-gssapi.i386 0:2.1.22-7.el5_8.1 cyrus-sasl-lib.i386 0:2.1.22-7.el5_8.1 cyrus-sasl-md5.i386 0:2.1.22-7.el5_8.1 device-mapper-multipath.i386 0:0.4.7-54.el5_9.1 dhclient.i386 12:3.0.5-33.el5_9 diffutils.i386 0:2.8.1-16.el5 e2fsprogs.i386 0:1.39-35.el5 e2fsprogs-libs.i386 0:1.39-35.el5 expat.i386 0:1.95.8-11.el5_8 file.i386 0:4.17-28 freetype.i386 0:2.2.1-32.el5_9.1 ftp.i386 0:0.17-38.el5 gawk.i386 0:3.1.5-16.el5 gdbm.i386 0:1.8.0-28.el5 glibc.i686 0:2.5-107 glibc-common.i386 0:2.5-107 gnutls.i386 0:1.4.1-10.el5 grub.i386 0:0.97-13.10.el5 gtk2.i386 0:2.10.4-29.el5 hal.i386 0:0.5.8.1-64.el5 httpd.i386 0:2.2.3-76.el5.centos hwdata.noarch 0:0.213.28-1.el5 initscripts.i386 0:8.45.42-1.el5.centos.1 iproute.i386 0:2.6.18-15.el5 iptables.i386 0:1.3.5-9.2.el5_8 iscsi-initiator-utils.i386 0:6.2.0.872-16.el5 java-1.6.0-openjdk.i386 1:1.6.0.0-1.33.1.11.6.el5_9 jpackage-utils.noarch 0:1.7.3-1jpp.3.el5 kbd.i386 0:1.12-22.el5 kpartx.i386 0:0.4.7-54.el5_9.1 kudzu.i386 0:1.2.57.1.26-7.el5.centos libgcc.i386 0:4.1.2-54.el5 libgcj.i386 0:4.1.2-54.el5 libgcrypt.i386 0:1.4.4-5.el5_8.2 libpng.i386 2:1.2.10-17.el5_8 libstdc++.i386 0:4.1.2-54.el5 libtiff.i386 0:3.8.2-18.el5_8 libuser.i386 0:0.54.7-3.el5 libvolume_id.i386 0:095-14.29.el5 libxml2.i386 0:2.6.26-2.1.15.el5_8.6 libxslt.i386 0:1.1.17-4.el5_8.3 logrotate.i386 0:3.7.4-14 lvm2.i386 0:2.02.88-10.el5 m2crypto.i386 0:0.16-9.el5 man.i386 0:1.6d-3.el5 mkinitrd.i386 0:5.1.19.6-79.el5 mod_nss.i386 0:1.0.8-7.el5 mod_ssl.i386 1:2.2.3-76.el5.centos mozldap.i386 0:6.0.5-2.el5 mozldap-tools.i386 0:6.0.5-2.el5 mysql.i386 0:5.0.95-5.el5_9 mysql-server.i386 0:5.0.95-5.el5_9 nash.i386 0:5.1.19.6-79.el5 net-snmp.i386 1:5.3.2.2-20.el5 net-snmp-libs.i386 1:5.3.2.2-20.el5 nfs-utils.i386 1:1.0.9-66.el5 nspr.i386 0:4.9.2-2.el5_9 nss.i386 0:3.13.6-3.el5_9 nss-tools.i386 0:3.13.6-3.el5_9 openldap.i386 0:2.3.43-25.el5_8.1 openldap-clients.i386 0:2.3.43-25.el5_8.1 openssl.i686 0:0.9.8e-22.el5_8.4 pam.i386 0:0.99.6.2-12.el5 perl.i386 4:5.8.8-38.el5_8 php53.i386 0:5.3.3-13.el5_8 php53-bcmath.i386 0:5.3.3-13.el5_8 php53-cli.i386 0:5.3.3-13.el5_8 php53-common.i386 0:5.3.3-13.el5_8 php53-dba.i386 0:5.3.3-13.el5_8 php53-devel.i386 0:5.3.3-13.el5_8 php53-gd.i386 0:5.3.3-13.el5_8 php53-imap.i386 0:5.3.3-13.el5_8 php53-intl.i386 0:5.3.3-13.el5_8 php53-ldap.i386 0:5.3.3-13.el5_8 php53-mbstring.i386 0:5.3.3-13.el5_8 php53-mysql.i386 0:5.3.3-13.el5_8 php53-odbc.i386 0:5.3.3-13.el5_8 php53-pdo.i386 0:5.3.3-13.el5_8 php53-pgsql.i386 0:5.3.3-13.el5_8 php53-process.i386 0:5.3.3-13.el5_8 php53-pspell.i386 0:5.3.3-13.el5_8 php53-snmp.i386 0:5.3.3-13.el5_8 php53-soap.i386 0:5.3.3-13.el5_8 php53-xml.i386 0:5.3.3-13.el5_8 php53-xmlrpc.i386 0:5.3.3-13.el5_8 pm-utils.i386 0:0.99.3-14.el5 popt.i386 0:1.10.2.3-31.el5 postgresql-libs.i386 0:8.1.23-6.el5_8 procps.i386 0:3.2.7-22.el5 psmisc.i386 0:22.2-11 python.i386 0:2.4.3-56.el5 python-iniparse.noarch 0:0.2.3-6.el5 python-libs.i386 0:2.4.3-56.el5 rpm.i386 0:4.4.2.3-31.el5 rpm-libs.i386 0:4.4.2.3-31.el5 rpm-python.i386 0:4.4.2.3-31.el5 selinux-policy.noarch 0:2.4.6-338.el5 selinux-policy-targeted.noarch 0:2.4.6-338.el5 shadow-utils.i386 2:4.0.17-21.el5 sqlite.i386 0:3.3.6-6 tar.i386 2:1.15.1-32.el5_8 tcl.i386 0:8.4.13-6.el5 tzdata.i386 0:2012j-1.el5 tzdata-java.i386 0:2012j-1.el5 udev.i386 0:095-14.29.el5 util-linux.i386 0:2.13-0.59.el5_8 vim-common.i386 2:7.0.109-7.2.el5 vim-minimal.i386 2:7.0.109-7.2.el5 wget.i386 0:1.11.4-3.el5_8.2 yum.noarch 0:3.2.22-40.el5.centos yum-metadata-parser.i386 0:1.1.2-4.el5 zlib.i386 0:1.2.3-7.el5 Complete! [root@centos58 ~]#
4. Verify the updated version of CentOS 5.
[root@centos58 ~]# cat /etc/redhat-release CentOS release 5.9 (Final)