HowTo: Update Centos Linux 5.4 to 5.5

Step # 1: Make A Backup

It cannot be stressed enough how important it is to make a backup of your system before you do this. Use the following tools to backup data to other server or USB hard disk:

Step # 2: Update All Packages

Type the following command to get a list of packages that are going to be updated, enter:
# yum list updates
To upgrade your box, enter:
# yum update

Fig.01: CentOS Upgrade In Progress Over The SSH Session

Fig.01: CentOS Upgrade In Progress Over The SSH Session


Reboot the server:
# reboot

Verify everything is working:
# uname -a
# netstat -tulpn
# tail -f /var/log/messages
# tail -f /path/to/log/file
# cat /etc/redhat-release

Sample outputs:

CentOS release 5.5 (Final)

You can use the the lsb_release command as follows:
# lsb_release -a
Sample outputs:

LSB Version:	:core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description: CentOS release 5.5 (Final)
Release: 5.5
Codename: Final

To view log of all updated package, enter:

tail -f /var/log/yum.log
less /var/log/yum.log
grep -i httpd /var/log/yum.log

Was this answer helpful?

 Print this Article

Also Read

Iptables Limits Connections Per IP

How do I restrict the number of connections used by a single IP address to my server for port 80...

SUSE Linux Restart / Stop / Start Network Service

Task: Start Network Service # /etc/init.d/network start # /etc/init.d/network start eth0 Task:...

OpenSSH Hide Version Number From Clients

How do I hide ssh number from clients? When I type the following command it displays server...

Linux Install Google Chrome Browser [ Ubuntu, Suse, Debian, Fedora ]

How do I install Google Chrome browser under Linux operating systems? How do I install...

Linux / UNIX: Encrypt Backup Tape Using Tar & OpenSSL

  How do I make sure only authorized person access my backups stored on the tape drives...