8aa91ba2e63bfb9da5a29d8705af8e06cecd95f4
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 Take out the page view numb...

Andrew Lewman authored 15 years ago

12) <p>Thank you for wanting to be a mirror of the Tor website.  All of
13) our mirrors are publicly listed on <a href="<page mirrors>">our mirrors
Andrew Lewman better wording

Andrew Lewman authored 15 years ago

14) page</a>.  We've included some sample commands and configuration below
Andrew Lewman Take out the page view numb...

Andrew Lewman authored 15 years ago

15) to make the initial setup and ongoing maintenance a minimal effort.
16) The Tor website and distribution directory currently require 15GB of
17) 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

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

Mfr authored 15 years ago

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

Jacob Appelbaum authored 15 years ago

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

Andrew Lewman authored 15 years ago

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

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

Mfr authored 15 years ago

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

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

Jacob Appelbaum authored 15 years ago

33) <br /><br />
34) <p>
35) An example cronjob to update a full mirror once a day may look like so:
36) <tt>
37) <pre>
38) # m h  dom mon dow   command
Jon@svn.torproject.org Change cron entry to every...

Jon@svn.torproject.org authored 14 years ago

39) 0 */6 * * * rsync -av --delete rsync://rsync.torproject.org/tor/ /var/www/mirrors/torproject.org
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

40) </pre>
41) </tt>
42) </p>
43) <br/>
44) For mirror operators that use Apache, we've created a sample virtual host
45) configuration file to use:
46) <tt>
47) <pre>
48) &lt;VirtualHost 1.2.3.4:80&gt;
49)         ServerAdmin youremail@example.com
50)         ServerName  1.2.3.4
51) 
52)         DocumentRoot /var/www/mirrors/torproject.org
53) 
54)         &lt;Directory /var/www/mirrors/torproject.org/&gt;
Jon@svn.torproject.org Change "Options MultiViews...

Jon@svn.torproject.org authored 14 years ago

55)                 Options MultiViews Indexes
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

56)                 DirectoryIndex index
57)                 AllowOverride None
58)         &lt;/Directory&gt;
59) 
Jon@svn.torproject.org Close VirtualHost directive...

Jon@svn.torproject.org authored 14 years ago

60) &lt;/VirtualHost&gt;
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

61) </pre>
62) </tt>
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

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

Jacob Appelbaum authored 15 years ago

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

Jacob Appelbaum authored 15 years ago

69) <p>
Jon@svn.torproject.org fix linwrapping

Jon@svn.torproject.org authored 14 years ago

70) If you are running a mirror, please subscribe to the
71) <A href="http://archives.seul.org/tor/mirrors/">tor-mirrors mailing list</A>, and introduce yourself there.
72) We will add you to the mirror list.  
73) Help for mirror support and configuration issues may also be found on the list.