jcpunk / centos / centos.org

Forked from centos/centos.org 2 days ago
Clone
Blob Blame History Raw
---
title: Mirror List
title_lead: List of CentOS official mirrors.
layout: download-mirror
---

<div class="alert alert-warning" role="alert">
For the current list of CentOS Stream mirrors, use <a href="https://mirrormanager.fedoraproject.org/mirrors/CentOS">this link</a> 
</div>

## 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](https://accounts.centos.org) as it's used for SSO auto/login on CentOS/Fedora webservices
 * 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
 * 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. 
 * 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
```

<div class="alert alert-info" role="info"> `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 
</div>

## General Notes

<div class="alert alert-danger" role="danger">
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 <a href="/legal"> Legal page </a>, first paragraph. 
</div>

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.