LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-11-2008, 08:15 AM   #1
bic
Member
 
Registered: Jan 2005
Distribution: MythDora 3.2, RHEL 6.3
Posts: 101

Rep: Reputation: 16
yum and RHEL 5.1


At work we only have 6 licenses for RHEL (three boxes at RHEL 4 and three at RHEL 5.1). I'd like to learn more about yum and install the RHEL 5.1 patches. I have a spare laptop and wonder if I can use yum with Redhat network to test updates and setup a repository. The reason is all RHEL 5.1 boxes are in production now. I don't want to remove one RHEL 5.1 from redhat network, but it appears that is the only way?
 
Old 06-11-2008, 10:50 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Centos is RHEL with the logos removed. Their updates usually are up within a couple of days of RHEL. You can use Centos' repos on RHEL or in your case you could install Centos to the laptop, learn how to set up a local repo with it(using Centos' repos), and then apply what you learn using RHEL's repos.
 
Old 06-12-2008, 07:16 AM   #3
zQUEz
Member
 
Registered: Jun 2007
Distribution: Fedora, RHEL, Centos
Posts: 294

Rep: Reputation: 54
We do something similar to what you are asking - basically a poor-man's satellite server.

Every quarter, I download all the available RHEL patches for a specific architecture (x86, x64) with a script like:
#!/bin/bash
for varPACKNAME in `up2date --showall`; do
varCOMPLETE="$varCOMPLETE $varPACKNAME"
done
up2date --get $varCOMPLETE

Then I used createrepo to create the needed repo files and copy all of this to an FTP location available to all my servers. I might call this may2008 packages.

Then, after testing and as I get approval to apply the latest patches to each server, I change their /etc/yum.conf to something similar to:
[May2008]
name=RHEL4-May2008 Updates i386
baseurl=ftp://usernameassword@ftpserver/may2008/i386/
enabled=1
gpgcheck=0
protect=0


so that they look at the new location. The reason I do this is so I can have a consistant and static group of packages each quarter that can be tested against and then applied to prod. servers. I currently only use RHEL4 servers and this involved getting yum.rpm's external to RH to install. We do have RHEL licenses for each server still and each is still registered with RHN, though this is not needed to make the solution work. This is a requirement of using RHEL software as opposed to Centos.
 
Old 06-12-2008, 08:39 AM   #4
bic
Member
 
Registered: Jan 2005
Distribution: MythDora 3.2, RHEL 6.3
Posts: 101

Original Poster
Rep: Reputation: 16
wow thanks a million! When I get more time I will try to work on this.
 
  


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
YUM on RHEL 4.0?? ajeetraina Linux - Newbie 1 06-02-2008 09:34 AM
Yum on RHEL Atmchicago Red Hat 2 07-29-2006 05:12 PM
RHEL 4 and yum? inc0gs Red Hat 7 09-24-2005 03:09 PM
Yum in RHEL 4 IcoNyx Linux - Software 2 09-19-2005 04:00 PM
RHEL yum up2date manitrim Linux - Software 1 03-16-2005 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:50 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