27cf7da78813eba9903b1aa0834d3ec51c4a389a
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>
Jacob Appelbaum Add sample cronjob and a ve...

Jacob Appelbaum authored 15 years ago

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

Jon@svn.torproject.org authored 14 years ago

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

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/>
Jon@svn.torproject.org update instructions, docume...

Jon@svn.torproject.org authored 14 years ago

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

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

Jon@svn.torproject.org authored 14 years ago

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

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.
Jacob Appelbaum Add a new mirror, change th...

Jacob Appelbaum authored 15 years ago

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

Jon@svn.torproject.org authored 14 years ago

76) <p>
77) In order to assure the mirrors of of high quility and up to date... Please ensure your mirror does at least the following:
78) 
79) Updates no later than every six hours, but no more frequent than every hour.
80) 
81) Allows "Directory Index / Indexes" (Index viewing) of the /dist directory.
82) 
83) Allows "Multiviews" or equivalent for language localization.
84) 
85) Have a valid contact email for administrative communications should your server have issues.
86) 
87) 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.
88) 
89) </p>
90) 
91)