git.schokokeks.org
Repositories
Help
Report an Issue
tor-webwml.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
8aa91ba2e
Branches
Tags
bridges
docs-debian
jobs
master
press-clips
tor-webwml.git
en
running-a-mirror.wml
Change cron entry to every six hours.
Jon@svn.torproject.org
commited
8aa91ba2e
at 2009-06-28 19:32:41
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 0 */6 * * * 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 Indexes 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 subscribe to the <A href="http://archives.seul.org/tor/mirrors/">tor-mirrors mailing list</A>, and introduce yourself there. We will add you to the mirror list. Help for mirror support and configuration issues may also be found on the list. </p> </div><!-- #main --> #include <foot.wmi>