Suggestions on the best way to mirror the install/updates locally?
-- Adam Breaux breauxaj@gmail.com http://www.adambreaux.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@gmail.com wrote:
Suggestions on the best way to mirror the install/updates locally?
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/
To speed things up (and to conserve disk space), you can add a --exclude=isos to the rsync command (and also --exclude="alpha" --exclude="ia64" --exclude="ppc" --exclude="s390*" --exclude="x86_64" if you only need/want the i386 stuff).
Alfred
On 10/18/05, Adam Breaux breauxaj@gmail.com wrote:
Suggestions on the best way to mirror the install/updates locally?
Have you looked at yam?
-- Leonard Isham, CISSP Ostendo non ostento.