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 08-31-2007, 02:33 AM   #1
RisingSun
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Manually Updating RHEL with patches


Hello,

Is there a way to update RHEL servers with patches not connected to the internet ?

Thanks
 
Old 08-31-2007, 07:56 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yes, one can oder the updates (when released) on media from RHN for example. One can also create a local repo on CD or DVD using createrepo also.
 
Old 08-31-2007, 08:15 AM   #3
RisingSun
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks Lenard,

Since Iam new to linux, I would immensely appreciate it if you could please tell me the procedure to use "createrepo" to build a CD/DVD with patches and to install these patches on servers.

Thanks
 
Old 09-03-2007, 07:57 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Install the createrepo package:

http://dag.wieers.com/rpm/FAQ.php#B
http://dag.wieers.com/rpm/packages/createrepo/

yum install createrepo
rpm -ivh createrepo*.rpm

Create a local directory (lets say RHELupdates) that has the updates and place all the updates in that directory then use createrepo from that directory;

cd RHELupdates
createrepo RHELupdates

Copy the contents of the dirctory to the media and use a local.repo file located in the /etc/yum.repos.d directory which looks something like;

[rhelupdates]
name=Red Hat-$releasever - Media
baseurl=file:///media/cdrecorder
gpgcheck=0
enabled=0

Mount the media and as root do something like; yum update --enablerepo=rhelupdates
 
  


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
RHEL Patches : Manual Updation?? sachinh Linux - Enterprise 2 04-20-2007 06:19 AM
patches for Rhel ... hitesh_linux Linux - Software 5 11-14-2006 07:33 PM
manually updating packages Vindane Slackware 1 03-16-2005 06:50 PM
manually updating RedHat 7.2 thick_guy_9 Red Hat 2 01-29-2005 09:37 AM
RHEL kernel patches - how to apply? Bogdan Red Hat 0 03-18-2004 08:30 AM

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

All times are GMT -5. The time now is 06:38 PM.

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