Using and running mirrors

Downloading from mirrors

First, for users/downloaders: the address http://ftpmirror.gnu.org/ multiplexes between the mirrors, trying to choose one that is nearby and up to date. E.g., http://ftpmirror.gnu.org/emacs/ goes to a mirror's directory of GNU Emacs. We recommend using this generic ftpmirror.gnu.org address wherever possible in links, documentation, etc., to reduce load on the main GNU server.

Mirroring the GNU FTP server

Mirroring the GNU FTP server requires approximately 169GB disk space (as of June 2024). You can rsync directly from ftp.gnu.org:

rsync -rltpHS --delete-excluded rsync://ftp.gnu.org/gnu/ /your/dir/

However, please consider mirroring from another site, again to reduce load on the GNU server. These sites provide access to all the material on ftp.gnu.org. They update from us nightly (at least), and you may access them via rsync with the same options as above:

Africa

rsync://mirror.ufs.ac.za/gnu (South Africa)

North America

rsync://mirror.its.dal.ca/gnu (Canada)

rsync://mirror.csclub.uwaterloo.ca/gnu/ (Canada)

rsync://mirror2.evolution-host.com/gnu (Canada)

rsync://mirror.keystealth.org/gnu/ (California, USA)

rsync://mirrors.ocf.berkeley.edu/gnu/ (California, USA)

rsync://mirrors.syringanetworks.net/gnu/ (Idaho, USA)

rsync://mirror.team-cymru.com/gnu/ (Illinois, USA)

rsync://mirror.leifrogers.com/gnu/gnu/ (Indiana, USA)

South America

rsync://gnu.c3sl.ufpr.br/gnu/ftp/ (Brazil)

rsync://mirror.cedia.org.ec/gnu (Ecuador)

Africa

rsync://mirror.marwan.ma/gnu/ (Morocco)

Asia

rsync://mirrors.ustc.edu.cn/gnu/ (China)

rsync://mirrors.tuna.tsinghua.edu.cn/gnu/ (China)

rsync://ftp.jaist.ac.jp/pub/GNU/ (Japan)

rsync://repo.jing.rocks/gnu/ (Japan)

rsync://mirror.truenetwork.ru/gnu (Russia)

rsync://mirror.freedif.org/GNU/ (Singapore)

rsync://mirror.ossplanet.net/gnu (Taiwan)

rsync://mirror.twds.com.tw/gnu/ (Taiwan)

Europe

rsync://mirror.kumi.systems/gnu/ (Austria)

rsync://ftp.funet.fi/ftp/pub/gnu/prep/ (Finland)

rsync://rsync.cyberbits.eu/gnu/ (France)

rsync://ftp.fau.de/gnu (Germany)

rsync://ftp.halifax.rwth-aachen.de/gnu/ (Germany)

rsync://mirror.netcologne.de/gnu (Germany)

rsync://mirror.clientvps.com/gnu/ (Germany)

rsync://quantum-mirror.hu/gnu/ (Hungary)

rsync://mirror.ihost.md/gnu (Moldova)

rsync://mirrors.mivocloud.com/gnu/ (Moldova)

rsync://mirror.lyrahosting.com/gnu (Netherlands)

rsync://ftp.snt.utwente.nl/gnu/ (Netherlands)

rsync://sunsite.icm.edu.pl/pub/gnu/ (Poland)

rsync://mirrors.up.pt/pub/gnu/ (Portugal)

rsync://mirror.leitecastro.com/gnu/ (Portugal)

rsync://mirrors.nav.ro/gnu (Romania)

rsync://mirror.bahnhof.net/gnu/ (Sweden)

rsync://ftp.acc.umu.se/mirror/gnu.org/gnu/ (Sweden)

rsync://rsync.mirrorservice.org/ftp.gnu.org/gnu/ (UK)

rsync://ftp-gnu-org.ip-connect.vn.ua/ftp.gnu.org/ (Ukraine)

Oceania

rsync://mirror.lagoon.nc/gnu/ (New Caledonia)

Making your mirror public

You can keep your mirror private, but we will be very grateful if you support free software by making it public. However, your mirror needs to meet the following guidelines to be accepted on our public mirror list:

  • Text (if any) should be as short as possible, and strictly explanatory.
  • Images, including logos, should be avoided by courtesy to people who use devices with small screens, except if the images are on the site being mirrored.
  • The header and footer shouldn't have links, except possibly for bug-reporting. Extra links are annoying for users, and in some cases are considered spam.

To add your mirror to the public mirror list, we require (and recommend) a daily update frequency. After establishing your mirror, please contact <webmasters@gnu.org> so we can review it. Please provide the following:

  • URL of the mirror (https/http/ftp/rsync as appropriate),
  • country where the mirror is located,
  • update frequency (once daily is recommended),
  • preferred contact information for any mirror-related issues (we will keep all contact information confidential), and
  • whether your site can also be a source for other mirrors.

Web setup for mirrors

It is very useful to make your mirror available to users via HTTP or HTTPS, so please support this if you can. We highly encourage new mirrors to support HTTPS as the most secure option.

Set up your web server configuration to avoid sending the Content-Encoding header because it causes problems with some gateways.

With Apache, we highly recommend the following setting, so that users can see full filenames in generated listings instead of having them be truncated:

IndexOptions NameWidth=*

If you set up an HTTPS mirror, please make sure its SSL certificate carries a valid signature from a certification authority; it's difficult for us to track mirrors with self-signed certificates. If you don't already have a valid signature, Let's Encrypt is a good place to get it.

Mirroring the GNU Alpha release server

ftp.gnu.org and other sites also offer alpha.gnu.org (around 90GB in June 2024) for your mirroring pleasure:

North America

rsync://ftp.gnu.org/alpha/ (USA - primary site)

rsync://mirror2.sandyriver.net/pub/software/gnu-alpha (USA - Kentucky)

South America

rsync://gnu.c3sl.ufpr.br/gnu/alpha/ (Brazil)

rsync://mirror.cedia.org.ec/gnualpha (Ecuador)

Africa

rsync://mirror.marwan.ma/gnualpha/ (Morocco)

Asia

rsync://mirror.freedif.org/GNU-alpha/ (Singapore)

rsync://repo.jing.rocks/gnu-alpha/ (Japan)

rsync://mirror.twds.com.tw/gnu-alpha/ (Taiwan)

Europe

rsync://mirror.kumi.systems/gnualpha/ (Austria)

rsync://ftp.funet.fi/ftp/pub/mirrors/alpha.gnu.org/gnu/ (Finland)

rsync://rsync.cyberbits.eu/gnu/alpha/ (France)

rsync://quantum-mirror.hu/gnualpha/ (Hungary)

rsync://mirror.ihost.md/gnu-alpha (Moldova)

rsync://mirrors.up.pt/pub/gnu-alpha/ (Portugal)

rsync://mirror.bahnhof.net/gnu-alpha/ (Sweden)

rsync://ftp.acc.umu.se/mirror/gnu.org/alpha/ (Sweden)

rsync://rsync.mirrorservice.org/alpha.gnu.org/gnu/ (UK)

rsync://alpha-gnu-org.ip-connect.vn.ua/alpha.gnu.org/ (Ukraine)

Nightly updates are sufficient for GNU FTP and Alpha material.

Mirroring nongnu releases from Savannah

We also greatly appreciate additional mirrors of the nongnu projects hosted at savannah.nongnu.org (around 64GB in June 2024). To do this, we recommend you retrieve and update the files using rsync, with the same options as above for ftp.gnu.org, namely:

rsync -rltpHS --delete-excluded rsync://dl.sv.gnu.org/releases/ /your/dir

These options ensure that it is an exact mirror. (There will probably be some permission errors; just ignore them. They are due to choices or mistakes by individual project maintainers.)

It is fine to update savannah/nongnu once a day as well; twice a day if you like. More than that is not worth the bandwidth, the contents are not that dynamic.

If you can help with this, please email us with the url to your mirror so we can add you to the list. Thanks!

(Not) Mirroring the GNU web server

We no longer recommend creating web mirrors, because it has turned out that (a) few people can make use of them, and (b) many mirrors either became out of date or went offline relatively frequently. We don't want outdated information about the GNU project to be disseminated.

Nonetheless, if you wish to mirror www.gnu.org for your own purposes, that is ok with us. We recommend using mod_proxy. Here is an unsupported recipe of Apache directives for your <VirtualHost>:

ServerName gnumirror.example.org
CacheRoot "/var/cache/mod_proxy"
CacheDefaultExpire 86400 # for Apache 2.0+, value is in seconds
ProxyPass / http://www.gnu.org/
CacheEnable disk /

(Thanks to Juri Hoerner for providing this Apache information.)