0c964a488b5b072995facfb83dca99beec8734f8
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) 
12) <p>All of our mirrors are publicly listed on <a href="<page mirrors>">our mirrors page</a>.</p>
13) 
14) <p>
15) If you would like to run a mirror, it's as easy as this command to download
16) everything a mirror should share with the world:
17) <br /> <br />
18) <tt>
Mfr Update rsync link to replic...

Mfr authored 15 years ago

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

Jacob Appelbaum authored 15 years ago

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

Mfr authored 15 years ago

26) 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

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

Jacob Appelbaum authored 15 years ago

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

Jacob Appelbaum authored 15 years ago

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

Jacob Appelbaum authored 15 years ago

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

Jacob Appelbaum authored 15 years ago

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

Roger Dingledine authored 15 years ago

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