LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-29-2012, 10:20 AM   #1
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Rep: Reputation: 1
upgrade from RHEL5 to RHEL5.8


Hi

How to upgrade RHEL5.0 to RHEL5.8 ?
Is there a procedure for that ?

Best regards
 
Old 05-29-2012, 10:36 AM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Here's some easy instructions: https://access.redhat.com/knowledge/articles/11258

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!
 
Old 05-29-2012, 03:13 PM   #3
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Original Poster
Rep: Reputation: 1
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.
 
Old 05-29-2012, 03:24 PM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by drManhattan View Post
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.
 
Old 05-29-2012, 07:51 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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
 
Old 05-30-2012, 02:18 AM   #6
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Original Poster
Rep: Reputation: 1
So in my case (having RHEL 5.0 installed) I need to download RHEL5.8 dvd and create repo local from that dvd and then run `yum update` ?
 
Old 05-30-2012, 02:39 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, you just need to run "yum update". That's it.
 
Old 05-30-2012, 02:51 AM   #8
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Original Poster
Rep: Reputation: 1
My server doesn't have access to internet.
 
Old 05-30-2012, 02:54 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Right, so then yes, get the 5.8 iso and make your own yum repo outside of RHN
 
Old 05-30-2012, 07:40 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
In that case, you may find this useful https://code.google.com/p/iredmail/w...Yum_Repository
 
Old 05-31-2012, 01:50 AM   #11
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Original Poster
Rep: Reputation: 1
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/

Update :
----------
http://vault.centos.org/4.9/updates/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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SELinux: RHEL4 to RHEL5 rules migration - unknown type var_lib_t in RHEL5 zbiggy Red Hat 2 05-12-2009 03:14 AM
How to make one rhel5 server control passwords for several rhel5 servers. folkrm Linux - Newbie 3 03-11-2009 02:17 PM
Determining patch level of Redhat RHEL5 vs RHEL5.1 or RHEL4.5-4.6 dfezz1 Linux - Newbie 2 01-23-2009 09:17 AM
RHEL5 - I have RHEL5 DVD , how i install ofice packages like SPREADSHEET ETC, bharath@linux Linux - Newbie 3 10-12-2008 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration