Creating a local RPM repository

Mike Smith Mike.Smith at control-solutions.com
Fri Nov 6 18:12:26 UTC 2009


Thank you to all who replied.

Now I have a couple of options to consider (and will review what I can find
via Google). 

-----Original Message-----
From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com]
On Behalf Of Tim
Sent: Friday, November 06, 2009 9:34 AM
To: Community assistance, encouragement,and advice for using Fedora.
Subject: Re: Creating a local RPM repository

On Fri, 2009-11-06 at 09:21 -0800, Mike Smith wrote:
> I am currently reviewing the possibility of allowing some of our 
> employees to use Fedora on their machines instead of Windows.  On of 
> my concerns is the bandwidth tied up by multiple machines downloading 
> the same RPMs through our Internet gateway.  Is there a way to set up 
> a local RPM repository on our internal networks so that the RPMs only 
> have to be downloaded from the main repositories once.  All of our 
> user machines would be configured to look at the local repository 
> instead of the main one.

Yes, and if you googled your subject line, you'd probably have found the
answer.  Or you could try googling create local yum repo.

I don't recall the answer for creating the repo, else I'd say it here.
But it's not hard to find.  It comes up often enough.

Another option is to simply use a caching proxy (e.g. Squid) between you and
one mirror, and set the clients to all use the same mirror (through your
proxy).  When one client fetches a package, it's cached, the next client
will use the cached copy.  Squid will take care of expunging old cached
content, itself (there's file age, and amount of bytes filling the cache,
that it considers).  You don't have to set up one machine to be a yum
mirror, they're all just clients.

It's a marvellous way to stop Windows update from wasting your bandwidth,
too (if you're going to keep some of those Windows boxes still working).

--
[tim at localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I read
messages from the public lists.



--
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines







More information about the fedora-list mailing list