Friday, December 18, 2015

How to do release update on Red Hat Linux ?

 Following procedure guides you on how to update a Red Hat Linux server from RHEL 6.3 to 6.4.

1. Mount the file RHEL6.4-Server-20130130.0-x86_64-DVD1.iso on a directory.

# mount -o loop RHEL6.4-Server-20130130.0-x86_64-DVD1.iso /media/rhel6/

2. Copy the repo file from the ISO to local repos.d directory.

# cp /media/rhel6/media.repo /etc/yum.repos.d/rhel6.repo

3. Modify the file /etc/yum.repos.d/rhel6.repo

baseurl=file:///media/rhel6/

4. Update the OS

# yum update

5. Unmount the file system

# umount /media/rhel6

6. Remove the temporary repo file

# rm /etc/yum.repos.d/rhel6.repo

7. Reboot the server

8. Check the OS version.

# cat /etc/redhat-release

No comments: