ddc8f22320b639a20150aaff81a339477c4f765f
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

1) ## translation metadata
Roger Dingledine looks like we never set the...

Roger Dingledine authored 13 years ago

2) # Revision: $Revision$
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

3) # Translation-Priority: 4-optional
4) 
5) #include "head.wmi" TITLE="Tor: Running a Mirror" CHARSET="UTF-8"
6) <div id="content" class="clearfix">
7)   <div id="breadcrumbs">
Andrew Lewman change all of the breadcrum...

Andrew Lewman authored 13 years ago

8)     <a href="<page index>">Home &raquo; </a>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

9)     <a href="<page docs/documentation>">Documentation &raquo; </a>
10)     <a href="<page docs/running-a-mirror>">Running a Mirror</a>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

11)   </div>
12)   <div id="maincol">
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

13)     <h1>Tor: Running a Mirror</h1>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

14)     <hr>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

15) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

16)     <p>Thank you for wanting to mirror the Tor website.  All of
17)     our mirrors are publicly listed on <a href="<page getinvolved/mirrors>">our mirrors
18)     page</a>.  We've included some sample commands and configuration below
19)     to make the initial setup and ongoing maintenance a minimal effort.
Andrew Lewman update the disk space requi...

Andrew Lewman authored 11 years ago

20)     The Tor website and distribution directory currently require 8.0 GB of
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

21)     disk space.</p>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

22) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

23)     <p>
24)     If you would like to run a mirror, it's as easy as this command to download
25)     everything a mirror should share with the world:
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

26)     <br> <br>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

27)     <tt>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

28)     rsync -av --delete rsync://rsync.torproject.org/website-mirror tor-mirror/
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

29)     </tt>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

30) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

31)     <p>
32)     In order to assure we have reliable and up to date mirrors,
33)     please ensure your mirror does at least the following:<br/><br/>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

34) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

35)     Updates <b>no less</b> than every six hours, but no more frequent than every
36)     hour.<br/><br/>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

37) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

38)     Allows "Directory Index / Indexes" (Index viewing) of the /dist
39)     directory.<br/><br/>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

40) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

41)     Allows "Multiviews" or equivalent for language localization.<br/><br/>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

42) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

43)     Have a valid contact email for administrative communications should your
44)     server have issues.<br/><br/>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

45) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

46)     It is highly recommended for all mirror operators to subscribe to <A
jon@svn.torproject.org update to reflect new maili...

jon@svn.torproject.org authored 13 years ago

47)     href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors">tor-mirrors mailing
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

48)     list</A> where all mirror listing modification requests should go (ADD,
49)     CHANGE, DELETE, any other requests/notifications).  Also, any technical
50)     assistance in setting up your mirror may be found here as well.<br/><br/>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

51) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

52)     </p>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 13 years ago

53)     <br><br>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

54)     <p>
55)     An example cronjob to update a full mirror once every 6 hours may look like so:
56)     <tt>
57)     <pre>
58)     # m h  dom mon dow   command
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

59)     0 */6 * * * rsync -aq --delete rsync://rsync.torproject.org/website-mirror/ /var/www/mirrors/torproject.org
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

60)     </pre>
61)     </tt>
62)     </p>
63)     <br/>
64)     For mirror operators that use Apache, we have created a sample virtual host
65)     configuration file to use:
66)     <tt>
67)     <pre>
68)     &lt;VirtualHost 0.1.2.3:80&gt;
69)             ServerAdmin youremail@example.com<br/>
70)             ServerName  0.1.2.3<br/>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

71) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

72)             DocumentRoot /var/www/mirrors/torproject.org<br/>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

73) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

74)             &lt;Directory /var/www/mirrors/torproject.org/&gt;<br/>
75)                 Options MultiViews Indexes<br/>
76)                 DirectoryIndex index<br/>
77)                 AllowOverride None<br/>
78)             &lt;/Directory&gt;<br/>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

79) 
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

80)     &lt;/VirtualHost&gt;
81)     </pre>
82)     </tt>
Andrew Lewman thanks to patrick, we have...

Andrew Lewman authored 12 years ago

83)     <br/>
84)     For mirror operators that use nginx, we created a sample virtual host
85)     configuration file to use:
86)     <tt>
87)     <pre>
88)     server {
89)     	listen 0.1.2.3:80;
90)   	server_name your.example.com;
91) 
92)   	root /var/www/mirrors/torproject.org;
93) 	index index.html.en;
94)     }
95)     </pre>
96)     </tt>
97)     <br/>
98)     If you use nginx, please ensure the text/html line in
99)     <tt>/etc/ngnix/mime.types</tt> matches:
100)     <tt>
101)     <pre>
102)     text/html                             en html htm shtml;
103)     </pre>
104)     </tt>
105)     <br/><br>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

106)     Please ensure that you keep your mirror updated (we suggest automating this
107)     task with something like '<tt>cron</tt>'). Our website, source code and
108)     binary releases change often. An update frequency of six hours is recommended.  Tor users everywhere will thank you.
109)     </p>
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

110)     <br/>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

111)     <p>
Robert Ransom Update mailing list subscri...

Robert Ransom authored 13 years ago

112)     If you are running a mirror, please subscribe to the <A
113)     href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-mirrors">tor-mirrors
114)     mailing list</A>, and introduce yourself there.
Andrew Lewman thanks to creep.im for find...

Andrew Lewman authored 11 years ago

115)     We will add you to the mirror list.
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 13 years ago

116)     Help for mirror support and configuration issues may also be found on the list.
117)     </p>
118)   </div>
119)   <!-- END MAINCOL -->
120)   <div id = "sidecol">
121) #include "side.wmi"
122) #include "info.wmi"
123)   </div>
124)   <!-- END SIDECOL -->
125) </div>
126) <!-- END CONTENT -->