[CentOS] Best way to mirror CentOS locally

Tue Oct 18 15:31:33 UTC 2005
Will McDonald <wmcdonald at gmail.com>

Kick off an rsync from your closest fast mirror, wait for this to
complete, then setup a nightly cron job to keep in sync with this
mirror. Something like...

rsync -Pptrl --delete
rsync://rsync.sunsite.org.uk/sites/msync.centos.org/CentOS/4/
/local_repo/CentOS/4/

Would mirror the whole CentOS 4 tree to /local_repo/CentOS/4/ on the
system the sync was run on. You can then point the local yum configs
to

file:/local_repo/CentOS/4/

Run a webserver/ftpserver that can access /local_repo/CentOS/4/ to
make the updates available to other clients.

Will.

On 18/10/05, Adam Breaux <breauxaj at gmail.com> wrote:
> Suggestions on the best way to mirror the install/updates locally?