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
Sample outputs (see
quick video demo):
(Video 01: Demo - upgrading RHEL with yum command)
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'
No comments:
Post a Comment