Re: Maintaining a local yum repository
- From: Derek Tattersall <tatters@xxxxxxxxxxx>
- Date: Sat, 26 Jan 2008 15:58:08 -0500
macgyver wrote:
I like that idea.
When I had two servers running Fedora2 and both my wife and I's
workstation, and my laptop all running FC2 - what I did was get one of
the servers to do an automatic update at say 02:00 - and do not delete
the resultant packages...
The resultant packages were then NFS shared to the rest of the systems
as a background mount.....
The result - when yum ran on the rest of the machines, if it found those
packages already on disk - it didn't re-download them - thus saving
downloading everything 5 times..
Also no problems with keys - as still using the repo ;-)
Ok - didn't stop the download of what needed to be downloaded - but that
traffic was minimal compared to the actual packages.....
Helluva lot better (IMHO) that rsyncing the entire repo - 'cause you
won't need a vast majority of what that repo has..
Just my 2c
AM
I could make a script on one machine that looks like this:
#!/bin/bash
yum $*
rsync -vRd /var/cache/yum/*/packages/*rpm /var/www/html/yum
and then use that to either make a local repository, or just copy it to the /var/cache/yum directories on my other machines.
I think that would do what I have in mind.
Thanks.
--
Derek Tattersall tatters@xxxxxxxxxxx
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: Maintaining a local yum repository
- From: macgyver
- Re: Maintaining a local yum repository
- References:
- Maintaining a local yum repository
- From: Derek Tattersall
- Re: Maintaining a local yum repository
- From: Aldo Foot
- Re: Maintaining a local yum repository
- From: macgyver
- Maintaining a local yum repository
- Prev by Date: Re: ****Maintaining a local yum repository
- Next by Date: Re: GRUB
- Previous by thread: Re: Maintaining a local yum repository
- Next by thread: Re: Maintaining a local yum repository
- Index(es):
Relevant Pages
|