LinuxQuestions.org
Review your favorite Linux distribution.
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 10-13-2009, 06:55 AM   #1
rajesh.bahl
Member
 
Registered: Jan 2007
Posts: 101

Rep: Reputation: 15
Need to do these with Yum


Dear experts,

Need your help in resolving the problem:-


I have CentOS 5.3 server up and running. This server has Internet connection and is working as proxy server apart from other applications. I can update this server from the internet by using "yum update". But I need some thing extra:

1. I have to add few more servers running CentOS. What I want is that the updates should get downloaded on one server and all the servers should fetch and apply them from this download rather than each individual server going to the Net and doing the same operation redundantly.

2. I need to add the installation DVD media as the "first repository" while running yum. How to do that ?



rajesh.bahl
 
Old 10-13-2009, 06:59 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by rajesh.bahl View Post
Dear experts,

Need your help in resolving the problem:-


I have CentOS 5.3 server up and running. This server has Internet connection and is working as proxy server apart from other applications. I can update this server from the internet by using "yum update". But I need some thing extra:

1. I have to add few more servers running CentOS. What I want is that the updates should get downloaded on one server and all the servers should fetch and apply them from this download rather than each individual server going to the Net and doing the same operation redundantly.

2. I need to add the installation DVD media as the "first repository" while running yum. How to do that ?



rajesh.bahl
you need to create a local repository, then get all your servers to reference this repository.

this should help

http://www.howtoforge.com/creating_a...ository_centos
 
Old 10-13-2009, 08:50 PM   #3
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
1. If RHEL, then Satellite server/service, else Spacewalk http://www.theregister.co.uk/2008/06...008_spacewalk/

2. If you've got the GUI, fire up Add/Remove Software and look for the Edit option. Should just be a qn of ticking the local/DVD repo box.
Otherwise, look in the /etc/yum_updates.d dir (I think it's called; don't have my Centos here)
 
Old 10-19-2009, 08:28 PM   #4
xenner
Member
 
Registered: Jul 2009
Location: Brisbane
Distribution: RHEL 6.5
Posts: 39

Rep: Reputation: 0
Hey,

I just set up something similar to this just recently, but for Red Hat instead. I scripted it with GUI so n00bs here can do it by just typing a number in.

The script basically gives you the options to Register with RHN, sync with RHN, create a local repository, restart apache (As the other box's need to connect via http to the local yum proxy), it won't onfigure Apache though, you have to do that yourself.

Is that sort of what you were after??? I haven't set up the DVD as a local repo though.

I can post the commands if it is.

X.
 
  


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 install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 02:34 AM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 05:48 AM
Yum Problem - /var/cache/yum/base/primary.xml.gz:1 ice99 Linux - Software 0 12-15-2005 01:08 PM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM

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

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