Wednesday, August 29, 2012

Upgrading Red Hat Enterprise Linux From Version 6.2 to 6.3


Red Hat Enterprise Linux v6.3 has been released and available via RHN for immediate update. How do I upgrade my RHEL from 6.2 to the latest 6.3 version?

You can only upgrade from minor release as Red Hat does not support in-place upgrades between any major versions of Red Hat Enterprise Linux. However, a minor upgrade can be done easily and recommended for all users.

Back up any important data on the server

Make a backup - it cannot be stressed enough how important it is to make a backup of your system before you do this. Most of the actions listed in this post are written with the assumption that they will be executed by the root user running the bash or any other modern shell. Type the following commands to see current version:

# uname -mrs

# cat /etc/redhat-release

RHEL: Upgrading your current system

Type the following yum command:

# yum update -y

Reboot the Linux server:

reboot

OR

shutdown -r now

Verify that everything is working fine:

# uname -a

# cat /etc/redhat_release

# netstat -tulpn

# tail -f /var/log/messages

# tail -f /path/to/log/file

# ps aux | less

# ps aux | egrep 'httpd|mysql'

0 comments:

Powered by Blogger.