CentOS welcomes new mirror sites.
If you are considering setting up a public mirror site for CentOS please follow these guidelines to make sure that your mirror is consistent with the other mirror sites.
As a first step if you are not already subscribed, subscribe to the CentOS-mirror mailing list: http://lists.centos.org/mailman/listinfo/CentOS-mirror .
Public mirrors should syncronize 2-4 times per day and this should be run via cron. We highly recommend the use of lock files in your cron script so that you don\'t spawn multiple connections which is hard on our servers and on your mirror. If you don\'t know how to do this, please ask the list.
The best way to mirror the site inside of a cron job is:
rsync -aqzH --delete msync.centos.org::CentOS /path/to/local/mirror/root
EU users may wish to use eu-msync.centos.org::CentOS
US users may wish to use us-msync.centos.org::CentOS
(if you are using >= 2.6.4 version of rsync, you might want to specifiy the --delay-updates switch to the above line in your cron job)
Please email the list when you're all set up with your cron job and your initial sync is completed. We will add you to our list of mirror sites. Please provide all relevant URL's (ftp/http/rsync/?) as well as how often you are synchronizing the mirror network. Please include what city/state/country you are in and what your bandwidth cap is. Also please give a name and link to the sponsoring organization so we can give proper credit. If the best contact point for your mirror is not the address you are subscribed to the mailing list with, please provide the email address of your preferred contact as well.
Please alert the CentOS-mirror mailing list if anything about the server changes like location, available bandwidth, frequency of updates, etc.
We ask that Tier 2, personal, and company intranet mirror sites please pick a Tier 1 mirror rather than synchronizing directly from the master rsync server pool. We are not restricting the master rsync server pool in order to help new mirror sites get online expediently but will re-examine this issue if the master rsync server pool is overly used.
The comments are owned by the poster. We aren't responsible for their content.
| Poster | Thread |
|---|---|
| karmapolis | Posted: 2006/5/5 23:27 Updated: 2006/5/5 23:27 |
Newbie ![]() ![]() Joined: 2006/5/5 From: Posts: 4 |
I suggest that you add an option to the new mirrorlist.centos.org script so that corporate users are able to query specifically for rsync mirrors to build their intranet mirrors. This way, one could write a script to automatically choose from one server on that list, instead of having to rely on the only fixed one (the master rsync server) which is probably already burdened. For example, instead of...
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os ... one might try this one... http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&proto=rsync ... to get *only* rsync mirrors that are "nearby" (in GeoIP terms). |
|
|
|
|
| Poster | Thread |
|---|---|
| maxx | Posted: 2006/9/3 21:40 Updated: 2006/9/3 21:40 |
Newbie ![]() ![]() Joined: 2005/6/19 From: Posts: 4 |
I am looking to set up an intranet mirror. Three questions...
1. Is there a way to restrict what is mirrored to Centos 4 i386/AMD64? (and how?) 2. Whether or not such restriction is possible, how much disk space should I allow? 3. How do I configure yum so that it uses my Intranet mirror? (I am a newbie with rsync and yum configuration--having typically cut-and-pasted out of howto's in any situation where I've needed them before.) Thanks. |
|
| Poster | Thread |
|---|---|
| lau-co | Posted: 2006/11/23 10:22 Updated: 2006/11/23 10:22 |
Newbie ![]() ![]() Joined: 2006/11/23 From: Posts: 1 |
I'm trying to manage a local repository for a linux cluster with this script with restricting it to the v4 x86_64 architecture.
It works fine except for one file : sysreport-1.3.15-8.noarch.rpm in updates base which is a symlink to the one in i386 repository. Since I didn't get the i386 architecture, the link is broken on my local mirror. I fix that by adding the 'L' option to the rsync command, but is this 'usual' to have such links across architectures ? |
|
| Poster | Thread |
|---|---|
| keithyau | Posted: 2008/1/8 11:47 Updated: 2008/1/8 11:47 |
Newbie ![]() ![]() Joined: 2008/1/8 From: Posts: 1 |
I come from HK and want to be one of centos 's mirror
Would admin please telling me what i have to do ? The guideline in the webpage is only about 3 sentences and i'm not strong enough to understand it I have a host running 24 hours and using FreeBSD ~ I love CentOS, just i cannot make my hardware support it Regards, Keith |
| Poster | Thread |
|---|---|
| hkfnc | Posted: 2008/2/1 2:33 Updated: 2008/2/1 2:33 |
Newbie ![]() ![]() Joined: 2008/2/1 From: Posts: 1 |
Dear Sir/Madam
We also would like to become a public mirror but not really know how to do it. Please help. Thank you ! |
| Poster | Thread |
|---|---|
| gigglesworth | Posted: 2009/9/8 23:41 Updated: 2009/9/8 23:41 |
Newbie ![]() ![]() Joined: 2005/5/23 From: Posts: 2 |
Can someone please explain how the symbolic links/hard links should work for the directories? What should I expect to see after rsync'ing the master?
I ask this because I keep running into Mirrors which have a dead directory for older releases. http://mirror.example.com/centos/5/ and http://mirror.example.com/centos/2/ are empty directories, for example. I don't have the space (or time) to download the mirror myself, so I was hoping to get an explanation from someone else. Thanks, -= Stefan |







