[CentOS-docs] New HowTo on Local Mirrors

Mon Apr 6 09:36:34 UTC 2009
Karanbir Singh <mail-lists at karan.org>

JohnS wrote:
> Or did you mean your repo? BTW article seems to be nice be I would just
> mirror base extras updates and addons and not the dvds
> 

[root at koala ~]# yum search "reposync"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
  * extras: ftp.plusline.de
  * base: archive.cs.uu.nl
  * addons: archive.cs.uu.nl
============================== Matched: reposync 
===============================
yum-utils.noarch : Utilities based around the yum package manager


its in yum-utils, thats hosted in the [os] dir, reposync works for 
centos-3/4/5 and since it uses the internal yum setup, you can make it 
do quite nice things like share a cache for X local install setups and 
also use it to keep repo's in real sync without needing to get every 
package that is hosted in the repo. Also, works well for include / 
exclude segments so you can easily ( and in a more yum friendly manner ) 
manage the package set.

With a bit more creativity, its possible to use that and squid to setup 
an avahi based lan area zeroconf yum mirror with failback to remote urls 
if required.

I seriously doubt I'll have the time to sit and actually writeup an 
article on this - but I'd be happy to point people in some directions or 
maybe we can setup a shared screen session + voice  and do a demo.

- KB