Creating a local RPM repository

Athmane Madjoudj athmanem at gmail.com
Fri Nov 6 18:23:29 UTC 2009


On Fri, Nov 6, 2009 at 6:21 PM, Mike Smith
<Mike.Smith at control-solutions.com> 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.
>
> As an example, I set up two test system yesterday with FC11.  After the
> initial install, each machine needed to download significant amounts of
> updates.  I would have much preferred that they got those updates from a
> local source.  This would have reduced the bandwidth clog on our gateway
> (3MB bandwidth) and reduced the install time due to the updates coming from
> a local source (1GB bandwidth).
>
> Any suggestions or instruction would be greatly appreciated.
>
> Mike
> --
> 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
>

You can use createrepo to create a local repo and setup yum on all
computer in the network to use your repo first.

See (Draft):
http://fedoraproject.org/wiki/Extras/CreateRepo

- Or -

You can setup a Caching Proxy (eg: squid) and reduce traffic on all
http and ftp protocols which yum uses them.

Best regards

-- 
Athmane Madjoudj




More information about the fedora-list mailing list