85fab014fbfa5a6a0f040a49d4c7298f8e1c61bc
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>
Jon@svn.torproject.org I can't be the only one thi...

Jon@svn.torproject.org authored 14 years ago

20) If you would like to run a mirror (website + dist), it's as easy as this command to download
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

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 />
Jon@svn.torproject.org I can't be the only one thi...

Jon@svn.torproject.org authored 14 years ago

27) If you would like to run only a dist/ mirror (distribution only), 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>
Jon@svn.torproject.org Seems more organized... how...

Jon@svn.torproject.org authored 14 years ago

33) 
34) 
35) <p>
Jon@svn.torproject.org Encoding fixes.

Jon@svn.torproject.org authored 14 years ago

36) In order to assure the mirrors of of high quility and up to date... Please ensure your mirror does at least the following:<br><br>
Jon@svn.torproject.org Seems more organized... how...

Jon@svn.torproject.org authored 14 years ago

37) 
Jon@svn.torproject.org Encoding fixes.

Jon@svn.torproject.org authored 14 years ago

38) Updates no later than every six hours, but no more frequent than every hour.<br><br>
Jon@svn.torproject.org Seems more organized... how...

Jon@svn.torproject.org authored 14 years ago

39) 
Jon@svn.torproject.org Encoding fixes.

Jon@svn.torproject.org authored 14 years ago

40) Allows "Directory Index / Indexes" (Index viewing) of the /dist directory.<br><br>
Jon@svn.torproject.org Seems more organized... how...

Jon@svn.torproject.org authored 14 years ago

41) 
Jon@svn.torproject.org Encoding fixes.

Jon@svn.torproject.org authored 14 years ago

42) Allows "Multiviews" or equivalent for language localization.<br><br>
Jon@svn.torproject.org Seems more organized... how...

Jon@svn.torproject.org authored 14 years ago

43) 
Jon@svn.torproject.org Encoding fixes.

Jon@svn.torproject.org authored 14 years ago

44) Have a valid contact email for administrative communications should your server have issues.<br><br>
Jon@svn.torproject.org Seems more organized... how...

Jon@svn.torproject.org authored 14 years ago

45) 
Jon@svn.torproject.org Encoding fixes.

Jon@svn.torproject.org authored 14 years ago

46) It is highly recommended for all mirror operators to subscribe to <A href="http://archives.seul.org/tor/mirrors/">tor-mirrors mailing list</A> where all mirror listing modification requests should go (ADD, CHANGE, DELETE, any other requests/notifications).  Also, any technical assistance in setting up your mirror may be found here as well.<br><br>
Jon@svn.torproject.org Seems more organized... how...

Jon@svn.torproject.org authored 14 years ago

47) 
48) </p>
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

49) <br /><br />
50) <p>
Jon@svn.torproject.org update instructions, docume...

Jon@svn.torproject.org authored 14 years ago

51) An example cronjob to update a full mirror once every 6 hours may look like so:
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

52) <tt>
53) <pre>
54) # m h  dom mon dow   command
Jon@svn.torproject.org Change cron entry to every...

Jon@svn.torproject.org authored 14 years ago

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

56) </pre>
57) </tt>
58) </p>
59) <br/>
Jon@svn.torproject.org update instructions, docume...

Jon@svn.torproject.org authored 14 years ago

60) For mirror operators that use Apache, we have created a sample virtual host
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

61) configuration file to use:
62) <tt>
63) <pre>
64) &lt;VirtualHost 1.2.3.4:80&gt;
Jon@svn.torproject.org Encoding fixes.

Jon@svn.torproject.org authored 14 years ago

65)         ServerAdmin youremail@example.com<br>
66)         ServerName  1.2.3.4<br>
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

67) 
Jon@svn.torproject.org Encoding fixes.

Jon@svn.torproject.org authored 14 years ago

68)         DocumentRoot /var/www/mirrors/torproject.org<br>
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

69) 
Jon@svn.torproject.org Encoding fixes.

Jon@svn.torproject.org authored 14 years ago

70)         &lt;Directory /var/www/mirrors/torproject.org/&gt;<br>
71)             Options MultiViews Indexes<br>
72)             DirectoryIndex index<br>
73)             AllowOverride None<br>
74)         &lt;/Directory&gt;<br>
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

75) 
Jon@svn.torproject.org Close VirtualHost directive...

Jon@svn.torproject.org authored 14 years ago

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

Jacob Appelbaum authored 15 years ago

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

Jacob Appelbaum authored 15 years ago

79) <br/> <br/>
80) Please ensure that you keep your mirror updated (we suggest automating this
81) task with something like '<tt>cron</tt>'). Our website, source code and
Jon@svn.torproject.org I can't be the only one thi...

Jon@svn.torproject.org authored 14 years ago

82) binary releases change often. An update frequency of six hours is recommended.  Tor users everywhere will thank you.
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

83) </p>
Jon@svn.torproject.org Seems more organized... how...

Jon@svn.torproject.org authored 14 years ago

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

Jacob Appelbaum authored 15 years ago

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

Jon@svn.torproject.org authored 14 years ago

86) If you are running a mirror, please subscribe to the
87) <A href="http://archives.seul.org/tor/mirrors/">tor-mirrors mailing list</A>, and introduce yourself there.
88) We will add you to the mirror list.  
89) Help for mirror support and configuration issues may also be found on the list.
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

90) </p>
91) 
Jon@svn.torproject.org Add the mirror standards/re...

Jon@svn.torproject.org authored 14 years ago

92) 
93)