<!--#include virtual="/server/header.html" -->
<!-- Parent-Version: 1.76 1.77 -->
<title>Using and Running Mirrors
- GNU Project - Free Software Foundation</title>

<!--#include virtual="/server/po/mirror.translist" -->
<!--#include virtual="/server/banner.html" -->

<h2>Using and running mirrors</h2>

<h3>Downloading from mirrors</h3>

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


<h3>Mirroring the GNU FTP server</h3>

<p>Mirroring the GNU FTP server requires approximately 46GB disk space
(as of June 2013).  You can rsync directly from ftp.gnu.org:</p>

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

<p>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 with (via rsync):</p>

<ul>
<li><tt>rsync://mirrors.ispros.com.bd/gnu/</tt> (Bangladesh)</li>
<li><tt>rsync://gnu.c3sl.ufpr.br/gnu/ftp/</tt> (Brazil)</li>
<li><tt>rsync://ftp.hawo.stw.uni-erlangen.de/gnu</tt> (Germany)</li>
<li><tt>rsync://ftp.funet.fi/ftp/pub/gnu/prep/</tt> (Finland)</li>
<li><tt>rsync://mirror.team-cymru.org/gnu/</tt> (Illinois, USA)</li>
<li><tt>rsync://mirror.arbitrary.nl/gnu/</tt> (Netherlands)</li>
<li><tt>rsync://mirrors.ibiblio.org/gnuftp/</tt> (North Carolina, USA)</li>
<li><tt>rsync://mirror.uber.com.au/gnu</tt> (Australia)</li>
<li><tt>rsync://ftp-gnu-org.ip-connect.vn.ua/ftp.gnu.org/</tt> (Ukraine)</li>
</ul>

<p>rsync is so much more efficient than other protocols that we
always recommend rsync for mirror transfers, with 
the options above, to ensure an exact copy.</p>

<p>You can keep your mirror private, but we appreciate the support if
you can make your mirror public.  To add your mirror to the <a
href="/order/ftp.html">public mirror list</a>, we require (and
recommend) a daily update frequency.  <em>After</em> establishing your
mirror, please contact <a
href="mailto:webmasters@gnu.org"><webmasters@gnu.org></a> so we
can review it.  Please provide the following:</p>

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

<p>In general, mirrors run by both individuals and organizations that want to
support free software are welcome and appreciated. Mirrors that are run for
the purpose of gaining advertising links or other recognition from our site,
or that are engaged in unethical activity, are not accepted on our list.</p>


<h3>Web setup for mirrors</h3>

<p>It is very useful to make your mirror available to users via http, so
please support this if you can.  Please set up your web server
configuration to avoid sending <tt>.gz.sig</tt> files (signatures of
compressed files, of which there are many on our servers) as
gzip-encoded.  For Apache, this means:</p>

<pre>
AddType application/pgp-signature .sig
# make sure .sig files are _not_ sent with "Content-Encoding: gzip".
<Files *.gz.sig>
  RemoveEncoding .gz
</Files>
<Files *.tgz.sig>
  RemoveEncoding .tgz
</Files>
</pre>

<p>Variation: if your AddEncoding lines do not have a leading dot for
the extension, for instance like this:</p>
<pre>
AddEncoding x-gzip gz tgz
</pre>
<p>then the RemoveEncoding lines should also not have a leading dot.</p>

<p>Finally, we highly recommend the following setting, so that users can
see full filenames in generated listings instead of having them be
truncated:</p>

<pre>
IndexOptions NameWidth=*
</pre>


<h3 id="Ibiblio">Ibiblio mailing lists</h3>

<p>For those mirroring from ibiblio, <a
href="http://lists.ibiblio.org/mailman/listinfo/ibiblio-mirrors">ibiblio-mirrors</a>
and <a
href="http://lists.ibiblio.org/mailman/listinfo/ibiblio-announce">ibiblio-announce</a>
are low-traffic mailing lists for admins of sites mirroring from ibiblio
servers.  Also, specific questions and problem reports can be <a
href="http://www.ibiblio.org/help/">submitted to ibiblio</a>.</p>


<h3>Mirroring the GNU Alpha release server</h3>

<p>ftp.gnu.org and other sites also offer alpha.gnu.org (around 10GB) for
your mirroring pleasure:</p>

<ul>
<li><tt>rsync://ftp.gnu.org/alpha/</tt></li>
<li><tt>rsync://mirrors.ibiblio.org/gnualpha/</tt></li>
<li><tt>rsync://ftp.funet.fi/ftp/pub/mirrors/alpha.gnu.org/gnu/</tt></li>
<li><tt>rsync://gnu.c3sl.ufpr.br/gnu/alpha/</tt></li>
</ul>

<p>Nightly updates are sufficient for GNU FTP and Alpha material.</p>


<h3 id="nongnu">Mirroring nongnu releases from Savannah</h3>

<p>We also greatly appreciate additional mirrors of the
<em>nongnu</em> projects hosted at <a
href="http://savannah.nongnu.org/">savannah.nongnu.org</a>.  The total is
currently around 22GB.  To do this, we recommend you retrieve and
update the files using rsync, with the same options as above for
ftp.gnu.org, namely:</p>

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

<p>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.)</p>

<p>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.</p>

<p>If you can help with this, please <a
href="mailto:webmasters@gnu.org">email us</a> with the url to your
mirror so we can add you to the <a
href="http://dl.sv.gnu.org/releases/00_MIRRORS.html">list</a>.
Thanks!</p>


<h3>(Not) Mirroring the GNU web server</h3>

<p>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.</p>

<p>Nonetheless, if you wish to mirror www.gnu.org for your own
purposes, that is ok with us.  We recommend using <tt>mod_proxy</tt>.
Here is an
<i>unsupported</i> recipe of Apache directives for your
<tt><VirtualHost></tt>:</p>
<pre>
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 /
</pre>

<p>(Thanks to Juri Hoerner for providing this Apache information.)</p>

</div><!-- for id="content", starts in the include above -->
<!--#include virtual="/server/footer.html" -->
<div id="footer">
<div class="unprintable">

<p>Please send general FSF & GNU inquiries to
<a href="mailto:gnu@gnu.org"><gnu@gnu.org></a>.
There are also <a href="/contact/">other ways to contact</a>
the FSF.  Broken links and other corrections or suggestions can be sent
to <a href="mailto:webmasters@gnu.org"><webmasters@gnu.org></a>.</p>

<p><!-- TRANSLATORS: Ignore the original text in this paragraph,
        replace it with the translation of these two:

        We work hard and do our best to provide accurate, good quality
        translations.  However, we are not exempt from imperfection.
        Please send your comments and general suggestions in this regard
        to <a href="mailto:web-translators@gnu.org">
        <web-translators@gnu.org></a>.</p>

        <p>For information on coordinating and submitting translations of
        our web pages, see <a
        href="/server/standards/README.translations.html">Translations
        README</a>. -->
Please see the <a
href="/server/standards/README.translations.html">Translations
README</a> for information on coordinating and submitting translations
of this article.</p>
</div>

<!-- Regarding copyright, in general, standalone pages (as opposed to
     files generated as part of manuals) on the GNU web server should
     be under CC BY-ND 3.0 US.  Please do NOT change or remove this
     without talking with the webmasters or licensing team first.
     Please make sure the copyright date is consistent with the
     document.  For web pages, it is ok to list just the latest year the
     document was modified, or published.
     
     If you wish to list earlier years, that is ok too.
     Either "2001, 2002, 2003" or "2001-2003" are ok for specifying
     years, as long as each year in the range is in fact a copyrightable
     year, i.e., a year in which the document was published (including
     being publicly visible on the web or in a revision control system).
     
     There is more detail about copyright years in the GNU Maintainers
     Information document, www.gnu.org/prep/maintain. -->

<p>Copyright © 2013 2014 Free Software Foundation, Inc.</p>

<p>This page is licensed under a <a rel="license"
href="http://creativecommons.org/licenses/by-nd/3.0/us/">Creative
Commons Attribution-NoDerivs 3.0 United States License</a>.</p>

<!--#include virtual="/server/bottom-notes.html" -->

<p></p><p

<p class="unprintable">Updated:
<!-- timestamp start -->
$Date: 2014/06/04 00:29:42 $
<!-- timestamp end -->
</p>
</div>
</div>
</body>
</html>