jcpunk / centos / centos.org

Forked from centos/centos.org 8 days ago
Clone

Blame download/mirrors.md

401d07
---
401d07
title: Mirror List
401d07
title_lead: List of CentOS official mirrors.
d66007
layout: download-mirror
401d07
---
401d07
d80e04
5f5e57
For the current list of CentOS Stream mirrors, use this link 
d80e04
d80e04
5f5e57
## Registering a mirror
5f5e57
401d07
CentOS welcomes new mirror sites.  If you are considering setting up a public
5f5e57
mirror site for CentOS, please follow the following steps : 
5f5e57
5f5e57
 * If you don't have (yet) a CentOS/Fedora account, please [self-register](https://accounts.centos.org) as it's used for SSO auto/login on CentOS/Fedora webservices
5f5e57
 * If you haven't (yet) a registered site/mirror host in [Mirrormanager](https://mirrormanager.fedoraproject.org) please [sign in into Mirrormanager](https://mirrormanager.fedoraproject.org) (with the account you created in previous step) and register a new site/host
5f5e57
 * Open a [CentOS Infra ticket](https://pagure.io/centos-infra/new_issue/?template=mirror-request) (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. 
5f5e57
 * 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.
5f5e57
5f5e57
## Mirroring content
5f5e57
5f5e57
To start mirroring content, you can select one of the following options : 
5f5e57
 * Mirroring CentOS Stream content entirely:
5f5e57
5f5e57
```
5f5e57
rsync -aqzH --delay-updates --delete-after rsync.stream.centos.org::CentOS-Stream-All /path/to/local/mirror/root
5f5e57
```
5f5e57
5f5e57
 * Mirroring CentOS Stream content but excluding Source RPMs (consuming less hard-disk space):
5f5e57
5f5e57
```
5f5e57
rsync -aqzH --delay-updates --delete-after rsync.stream.centos.org::CentOS-Stream-nosrc /path/to/local/mirror/root
5f5e57
```
5f5e57
5f5e57
 * Mirroring CentOS Stream content but excluding automatically debuginfo RPMs (consuming less hard-disk space) :
5f5e57
5f5e57
```
5f5e57
rsync -aqzH --delay-updates --delete-after rsync.stream.centos.org::CentOS-Stream-nodebug /path/to/local/mirror/root
5f5e57
```
5f5e57
5f5e57
`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
5f5e57
5f5e57
5f5e57
## General Notes
5f5e57
5f5e57
5f5e57
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. 
5f5e57
5f5e57
5f5e57
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. 
d80e04
3dc5ae