Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Since it's been over 5 years since RHEL5.0 was released, it might be a good idea to contact redhat.com support for advice with such a big upgrade. I personally upgrade in smaller increments (5.6 to 5.7 to 5.8) so I cannot guarantee going straight from 5.0 to 5.8 will work. Good luck!
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262
Original Poster
Rep:
I would like to know what steps are required to upgrade system.
In my example I have to go from RHEL5.0 to 5.8 so these are the steps are predict :
1. download image of each RHEL (5.1,5.2,.....5.8)
2. create repos on my target system with each RHEL version
3. first run `yum install kernel*` to install new kernel if in newer version is required
4. if installation of newer kerenel is not required then just run `yum update` to update all packages installed currently
5. repeat steps 3-4 untill `cat /etc/redhat-release` show RHEL5.8
I would like to know what steps are required to upgrade system.
In my example I have to go from RHEL5.0 to 5.8 so these are the steps are predict :
1. download image of each RHEL (5.1,5.2,.....5.8)
2. create repos on my target system with each RHEL version
3. first run `yum install kernel*` to install new kernel if in newer version is required
4. if installation of newer kerenel is not required then just run `yum update` to update all packages installed currently
5. repeat steps 3-4 untill `cat /etc/redhat-release` show RHEL5.8
Please correct if I am wrong.
You are wrong please read the link I posted above and contact redhat.com if it is not self-explanatory.
If your system is connected to the internet (specifically rhn), then
1. do backup
2.
Code:
yum update
You only need to create repos if it has no access to RHN. You can still go straight to the latest 5.x as the updates are cumulative.
Other options include RH Proxy or RH Satellite.
Note however that if you want to go to 6.x (currently 6.2) that requires(!) a fresh install.
Upgrading across major version nums is NOT supported by RH.
HTH
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262
Original Poster
Rep:
Hi
I was upgrading CENTOS4.0 to 4.9 and observed that there is a difference between upgrade and update.
Upgrade :
------------- http://vault.centos.org/4.9/os/x86_64/
Firstly I upgraded CENTOS4.0 with above repo "upgrade section" and then i updated already upgraded 4.9 version. Without this update `cat /etc/redhat-release` showed 4.8.
!!!
Summarizing, to upgrade/update system there is procedure `yum update` but order of using repo and repo structure is importand.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.