rsync the vault.centos.com

TurnToJPG -->


For I want to do some configuration workings on old distribution of CentOS, I have to use lots of materials which from vault.centos.com, following are the steps for syncing them.

First, rsync in vault.centos.com is closed, thus we have to choose http://archive.kernel.org/centos/.

Rsync Scripts

Refers to:
https://www.totalnetsolutions.net/2013/10/02/setting-up-a-corporate-yum-repository-mirror-for-bandwidth-and-staged-update-management/

Make Repository

https://wiki.centos.org/HowTos/CreateLocalMirror