dac6039d64855d3fbf57e21b8d424d35ca65ca59
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

1) ## translation metadata
Mfr Update rsync link to replic...

Mfr authored 15 years ago

2) # Revision: $Revision$
Roger Dingledine reevaluate our translation...

Roger Dingledine authored 15 years ago

3) # Translation-Priority: 4-optional
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

4) 
Roger Dingledine fix links to svn mirror, ti...

Roger Dingledine authored 15 years ago

5) #include "head.wmi" TITLE="Tor: Running a Mirror"
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

6) 
7) <div class="main-column">
8) 
9) <h2>Tor: Running a Mirror</h2>
10) <hr />
11) 
Andrew Lewman Include page request and di...

Andrew Lewman authored 15 years ago

12) <p>Thanks for considering to be a mirror.  All of our mirrors are publicly
13) listed on <a href="<page mirrors>">our mirrors page</a>.  You should
14) expect around 500 page requests per day from users all over the world.
15) The Tor website and distribution directory currently require 15GB of
16) disk space.  The /dist directory alone is 3.6 GB.</p>
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

17) 
18) <p>
19) If you would like to run a mirror, it's as easy as this command to download
20) everything a mirror should share with the world:
21) <br /> <br />
22) <tt>
Mfr Update rsync link to replic...

Mfr authored 15 years ago

23) rsync -av --delete rsync://rsync.torproject.org/tor tor-mirror/
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

24) </tt>
25) <br /> <br />
Andrew Lewman Include page request and di...

Andrew Lewman authored 15 years ago

26) If you would like to run only a dist/ mirror, it's as easy as this command to 
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

27) download everything a dist mirror should share with the world:
28) <br /> <br />
29) <tt>
Mfr Update rsync link to replic...

Mfr authored 15 years ago

30) rsync -av --delete rsync://rsync.torproject.org/tor/dist tor-mirror-dist/
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

31) </tt>
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

32) <br /><br />
33) <p>
34) An example cronjob to update a full mirror once a day may look like so:
35) <tt>
36) <pre>
37) # m h  dom mon dow   command
38) 1 4 * * * rsync -av --delete rsync://rsync.torproject.org/tor /var/www/mirrors/torproject.org/
39) </pre>
40) </tt>
41) </p>
42) <br/>
43) For mirror operators that use Apache, we've created a sample virtual host
44) configuration file to use:
45) <tt>
46) <pre>
47) &lt;VirtualHost 1.2.3.4:80&gt;
48)         ServerAdmin youremail@example.com
49)         ServerName  1.2.3.4
50) 
51)         DocumentRoot /var/www/mirrors/torproject.org
52) 
53)         &lt;Directory /var/www/mirrors/torproject.org/&gt;
54)                 Options MultiViews
55)                 DirectoryIndex index
56)                 AllowOverride None
57)         &lt;/Directory&gt;
58) 
59) &lt;VirtualHost&gt;
60) </pre>
61) </tt>
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

62) <br/> <br/>
63) Please ensure that you keep your mirror updated (we suggest automating this
64) task with something like '<tt>cron</tt>'). Our website, source code and
65) binary releases change often. Tor users everywhere will thank you.
66) </p>
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

67) <br/>
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

68) <p>
69) If you are running a mirror, please email
Roger Dingledine keep fighting a losing battle

Roger Dingledine authored 15 years ago

70) <a href="<page contact>">tor-webmaster</a> and we'll add it to the list.