Please Use the Mirrors!

David Rees drees at greenhydrant.com
Fri May 7 14:43:00 UTC 2004


Gary Stainburn wrote:
> On Friday 07 May 2004 2:05 pm, David Rees wrote:
>> However, if you still want to rsync, this command will work:
>>
>> rsync -rpt --delete \
>>    --exclude="lost+found" --exclude=\*.src.rpm \
>>    ${SERVER}/redhat/7.3 ${LOCALREPO}
>>
>> Replace ${SERVER} with a mirror, and ${LOCALREPO} with your local
>> repository directory.
>>
>> Note that this command only mirrors the redhat 7.3 repository.
>
> Thanks for this Dave.  I'll probaby look at doing something like this on a
> central server to create a local copy (and repeat for FC1).
>
> What I need to know now is how's the best way to make these local copies
> available to RH73 and FC1 boxes so that I can yum on them.
>
> What do I have to do on the server? configure apache or an ftp server?
> What do I have to do on the client ? add the local server to their
> yum.conf?

You'll need to configure Apache to serve up the ${LOCALREPO} directory
along with directory indexes.  On the client, adjust the yum.conf to point
to your server.

If you want to mirror FC1, you'll have to look up the rsync mirrors from
the Fedora project, and then use a similar command.

-Dave





More information about the fedora-legacy-list mailing list