For the current list of CentOS Stream mirrors, use this link
Registering a mirror
CentOS welcomes new mirror sites. If you are considering setting up a public mirror site for CentOS, please follow the following steps :
- If you don’t have (yet) a CentOS/Fedora account, please self-register as it’s used for SSO auto/login on CentOS/Fedora webservices
- If you haven’t (yet) a registered site/mirror host in Mirrormanager please sign in into Mirrormanager (with the account you created in previous step) and register a new site/host
- Open a CentOS Infra ticket (still using same SSO login) using the ‘mirror-request’ Issue type. This will start a template for you to fill out with the name of your site and a few more details so that we can enable the CentOS categories on your mirror.
- Once ticket is approved and your mirror has the
CentOS
category attached to it, Mirrormanager will start to validate your mirror on regular basis and add it to the list of up2date mirrors.
Mirroring content
To start mirroring content, you can select one of the following options :
- Mirroring CentOS Stream content entirely:
rsync -aqzH --delay-updates --delete-after rsync.stream.centos.org::CentOS-Stream-All /path/to/local/mirror/root
- Mirroring CentOS Stream content but excluding Source RPMs (consuming less hard-disk space):
rsync -aqzH --delay-updates --delete-after rsync.stream.centos.org::CentOS-Stream-nosrc /path/to/local/mirror/root
- Mirroring CentOS Stream content but excluding automatically debuginfo RPMs (consuming less hard-disk space) :
rsync -aqzH --delay-updates --delete-after rsync.stream.centos.org::CentOS-Stream-nodebug /path/to/local/mirror/root
`rsync.stream.centos.org` is resolved automatically by our GeoIP enabled dns setup. So that means that you'd get a node in your country/continent if it exists, or from nearest one
General Notes
Please note that U.S. Export Administration Regulations prohibit exporting CentOS software to some countries and consequently, we can't add mirrors from those countries. The current list of restricted countries can be seen on the CentOS Legal page , first paragraph.
If you have a data cap which is lower than 15 TB (depending on region), please don’t try to add that machine as a mirror. Please also note: If you are in a country which already has a lot of mirrors (like most western countries do, but also some Asian countries), please refrain from trying to add mirrors which have less than 1000Mbit/s. If there aren’t that many mirrors in your country, we will also accept lower speeds, naturally.