On Sat, 2007-11-17 at 17:46 -0500, Jason Pyeron wrote: > Now that we have 28 centos boxes up and running, we really want to minimize > the up2date traffic. > > Is there a how to on mirroring centos? > > We are using > > rsync -azHv --delete-excluded --delete rsync://mirrors.kernel.org/centos/ > --exclude-from=centos.excludes --bwlimit=64 --progress centos/ > > But then what? Publish this mirror on a internal website, for example link it to: /var/www/html/repo/Centos (which means it will be visible on http://reposerver/repo/Centos , where reposerver resolves to the local web server. Then modify the file /etc/yum.repos.d/Centos-Base, comment out the mirrorlist entry and add one like: #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch= $basearch&repo=os baseurl=http://reposerver/repo/CentOS/$releasever/os/$basearch/ (for base) Do this for every repository that you mirror. Place this updated file in /etc/yum.repos.d/ on all your CentOS servers and the server will update from it for yum. Regards Hendrik > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > - - > - Jason Pyeron PD Inc. http://www.pdinc.us - > - Sr. Consultant 10 West 24th Street #100 - > - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - > - - > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you > have received it in error, purge the message from your system and > notify the sender immediately. Any other use of the email by you > is prohibited. > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos