[K12OSN] rsyncing repositories
Les Mikesell
les at futuresource.com
Wed Aug 9 23:10:25 UTC 2006
On Wed, 2006-08-09 at 14:35 -0700, Rob Owens wrote:
> rsync -Pav --exclude=iso
> k12linux.mesd.k12.or.us::testing/5.0.0-32bit/ ./
>
> This works well for http type network installs. But I
> don't think I'm fully utilizing my local tree as an
> update source. The only repo I've successfully
> pointed to my local rsync'd tree is the k12ltsp repo.
I think that's the only one that would be included in
the copy. As an alternative you can configure a squid
proxy to hold large files and tell yum to use it either
with the config file or a command line export like:
http_proxy=http://myproxy.mydomain.com:3128 yum update
The way the fedora uses a mirrorlist kind of defeats this
unless you change it to always use the same server. It
works OK with the Centos-based way of using round-robin
DNS for the mirrors so the URLs look the same to the cache.
--
Les Mikesell
les at futuresource.com
More information about the K12OSN
mailing list