[CentOS] Best way to mirror CentOS locally

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

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

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


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


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

More information about the CentOS mailing list