git.schokokeks.org
Repositories
Help
Report an Issue
tor-webwml.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
5d90cd168
Branches
Tags
bridges
docs-debian
jobs
master
press-clips
tor-webwml.git
en
running-a-mirror.wml
Take out the page view number until we have better data on which to base a number. The m1 attribution in r19472 should have been Marian.
Andrew Lewman
commited
5d90cd168
at 2009-05-07 19:43:47
running-a-mirror.wml
Blame
History
Raw
## translation metadata # Revision: $Revision$ # Translation-Priority: 4-optional #include "head.wmi" TITLE="Tor: Running a Mirror" <div class="main-column"> <h2>Tor: Running a Mirror</h2> <hr /> <p>Thank you for wanting to be a mirror of the Tor website. All of our mirrors are publicly listed on <a href="<page mirrors>">our mirrors page</a>. We've included some sample commands and configuration below to make the initial setup and ongoing maintenance a minimal effort. The Tor website and distribution directory currently require 15GB of disk space. The /dist directory alone is 3.6 GB.</p> <p> If you would like to run a mirror, it's as easy as this command to download everything a mirror should share with the world: <br /> <br /> <tt> rsync -av --delete rsync://rsync.torproject.org/tor tor-mirror/ </tt> <br /> <br /> If you would like to run only a dist/ mirror, it's as easy as this command to download everything a dist mirror should share with the world: <br /> <br /> <tt> rsync -av --delete rsync://rsync.torproject.org/tor/dist tor-mirror-dist/ </tt> <br /><br /> <p> An example cronjob to update a full mirror once a day may look like so: <tt> <pre> # m h dom mon dow command 1 4 * * * rsync -av --delete rsync://rsync.torproject.org/tor /var/www/mirrors/torproject.org/ </pre> </tt> </p> <br/> For mirror operators that use Apache, we've created a sample virtual host configuration file to use: <tt> <pre> <VirtualHost 1.2.3.4:80> ServerAdmin youremail@example.com ServerName 1.2.3.4 DocumentRoot /var/www/mirrors/torproject.org <Directory /var/www/mirrors/torproject.org/> Options MultiViews DirectoryIndex index AllowOverride None </Directory> <VirtualHost> </pre> </tt> <br/> <br/> Please ensure that you keep your mirror updated (we suggest automating this task with something like '<tt>cron</tt>'). Our website, source code and binary releases change often. Tor users everywhere will thank you. </p> <br/> <p> If you are running a mirror, please email <a href="<page contact>">tor-webmaster</a> and we'll add it to the list. </p> </div><!-- #main --> #include <foot.wmi>