81720f6d457edc7a204f5ee8170977b4ce8ea79e
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

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

Roger Dingledine authored 14 years ago

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

Andrew Lewman authored 14 years ago

3) # Translation-Priority: 3-low
4) 
5) #include "head.wmi" TITLE="Tor: Linux/BSD/Unix Install Instructions" CHARSET="UTF-8"
6) <div id="content" class="clearfix">
7)   <div id="breadcrumbs">
Andrew Lewman change all of the breadcrum...

Andrew Lewman authored 14 years ago

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

Andrew Lewman authored 14 years ago

9)     <a href="<page docs/documentation>">Documentation &raquo; </a>
10)     <a href="<page docs/tor-doc-unix>">Linux/BSD/Unix Client</a>
11)   </div> 
12)   <div id="maincol"> 
Andrew Lewman change all of the breadcrum...

Andrew Lewman authored 14 years ago

13)     <h1>Running the <a href="<page index>">Tor</a> client on Linux/BSD/Unix</h1>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 14 years ago

15)     
16)     <p>
17)     <b>Note that these are the installation instructions for running a Tor
18)     client. If you want to relay traffic for others to help the network grow
19)     (please do), read the <a
20)     href="<page docs/tor-doc-relay>">Configuring a relay</a> guide.</b>
21)     </p>
22)     
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

23)     <hr>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

24)     <a id="installing"></a>
25)     <h2><a class="anchor" href="#installing">Step One: Download and Install Tor</a></h2>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 14 years ago

27)     
28)     <p>
29)     The latest release of Tor can be found on the <a
30)     href="<page download/download>">download</a> page. We have packages for Debian,
31)     Red Hat, Gentoo, *BSD, etc there too. If you're
32)     using Ubuntu, don't use the default packages: use <a
33)     href="<page docs/debian>#ubuntu">our deb repository</a> instead.
Roger Dingledine warn people about the nativ...

Roger Dingledine authored 13 years ago

34)     Similarly, CentOS / Fedora / OpenSUSE users should use <a href="<page
35)     docs/rpms>">our rpm repository</a> instead.
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

36)     </p>
37)     
38)     <p>If you're building from source, first install <a
39)     href="http://www.monkey.org/~provos/libevent/">libevent</a>, and
40)     make sure you have openssl and zlib (including the -devel packages if
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

41)     applicable). Then run:<br>
42)     <tt>tar xzf tor-<version-stable>.tar.gz; cd tor-<version-stable></tt><br>
43)     <tt>./configure &amp;&amp; make</tt><br>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

44)     Now you can run tor as <tt>src/or/tor</tt>, or you can run <tt>make install</tt>
45)     (as root if necessary) to install it into /usr/local/, and then you can
46)     start it just by running <tt>tor</tt>.
47)     </p>
48)     
49)     <p>Tor comes configured as a client by default. It uses a built-in
50)     default configuration file, and most people won't need to change any of
51)     the settings. Tor is now installed.
52)     </p>
53)     
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

54)     <hr>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

55)     <a id="privoxy"></a>
56)     <a id="polipo"></a>
57)     <h2><a class="anchor" href="#polipo">Step Two: Install Polipo for Web Browsing</a></h2>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 14 years ago

59)     
60)     <p>After installing Tor, you need to configure your applications to use it.
61)     </p>
62)     
63)     <p>
64)     The first step is to set up web browsing. Start by installing <a
65)     href="http://www.pps.jussieu.fr/~jch/software/polipo/">Polipo</a> from
66)     your favorite repository. Polipo is a caching web proxy that does http
67)     pipelining well, so it's well-suited for Tor's latencies. Make sure
68)     to get at least Polipo 1.0.4, since earlier versions lack the SOCKS support
69)     required to use Polipo with Tor. You should uninstall privoxy at this
70)     point (e.g. apt-get remove privoxy or yum remove privoxy), so they don't
71)     conflict.
72)     </p>
73)     
74)     <p>Once you've installed Polipo (either from package or from
75)     source), <b>you will need to configure Polipo to use Tor</b>. Grab our <a
Sebastian Hahn use the tbbrepo tag

Sebastian Hahn authored 14 years ago

76)     href="<tbbrepo>/build-scripts/config/polipo.conf">Polipo
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

77)     configuration for Tor</a> and put it in place of your current polipo
78)     config file (e.g. /etc/polipo/config or ~/.polipo).
79)     You'll need to restart Polipo for the changes to take effect. For
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

80)     example:<br>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

81)     <tt>/etc/init.d/polipo restart</tt>
82)     </p>
83)     
84)     <p>If you prefer, you can instead use Privoxy with <a
Karsten Loesing Update wiki links

Karsten Loesing authored 13 years ago

85)     href="<wiki>doc/PrivoxyConfig">this
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

86)     sample Privoxy configuration</a>. But since the config files both use
87)     port 8118, you shouldn't run both Polipo and Privoxy at the same time.</p>
88)     
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

89)     <hr>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

90)     <a id="using"></a>
91)     <h2><a class="anchor" href="#using">Step Three: Configure your applications to use Tor</a></h2>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 14 years ago

93)     
94)     <p>After installing Tor and Polipo, you need to configure your
95)     applications to use them. The first step is to set up web browsing.</p>
96)     
97)     <p>You should use Tor with Firefox and Torbutton, for best safety.
98)     Simply install the <a
Robert Ransom Link to the Torbutton page...

Robert Ransom authored 13 years ago

99)     href="<page torbutton/index>">Torbutton
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

100)     plugin</a>, restart your Firefox, and you're all set:
101)     </p>
102)     
103)     <img alt="Torbutton plugin for Firefox"
Andrew Lewman more image path fixes.

Andrew Lewman authored 14 years ago

104)     src="$(IMGROOT)/screenshot-torbutton.png"
Sebastian Hahn Kill all the border attributes

Sebastian Hahn authored 14 years ago

105)    >
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

106)     
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 14 years ago

108)     
109)     <p>
110)     If you plan to run Firefox on a different computer than Tor, see the <a
Andrew Lewman clean up wiki and faq refer...

Andrew Lewman authored 14 years ago

111)     href="<wikifaq>#SocksListenAddress">
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

112)     FAQ
113)     entry for running Tor on a different computer</a>.
114)     </p>
115)     
116)     <p>To Torify other applications that support HTTP proxies, just
117)     point them at Polipo (that is, localhost port 8118). To use SOCKS
118)     directly (for instant messaging, Jabber, IRC, etc), you can point
119)     your application directly at Tor (localhost port 9050), but see <a
Andrew Lewman clean up wiki and faq refer...

Andrew Lewman authored 14 years ago

120)     href="<wikifaq>#SOCKSAndDNS">this
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

121)     FAQ entry</a> for why this may be dangerous. For applications
122)     that support neither SOCKS nor HTTP, take a look at <a
Andrew Lewman per grarpamp, reference tor...

Andrew Lewman authored 13 years ago

123)     href="https://code.google.com/p/torsocks/">torsocks</a> or <a
Karsten Loesing Update wiki links

Karsten Loesing authored 13 years ago

124)     href="<wiki>doc/TorifyHOWTO#socat">socat</a>.
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

125)     </p>
126)     
127)     <p>For information on how to Torify other applications, check out the
Karsten Loesing Update wiki links

Karsten Loesing authored 13 years ago

128)     <a href="<wiki>doc/TorifyHOWTO">Torify
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

129)     HOWTO</a>.
130)     </p>
131)     
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

132)     <hr>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

133)     <a id="verify"></a>
134)     <h2><a class="anchor" href="#verify">Step Four: Make sure it's working</a></h2>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 14 years ago

136)     
137)     <p>
138)     Next, you should try using your browser with Tor and make
139)     sure that your IP address is being anonymized. Click on
140)     <a href="https://check.torproject.org/">the
141)     Tor detector</a>
142)     and see whether it thinks you're using Tor or not.
143)     #<a href="http://ipchicken.com/">this site</a>
144)     #to see what IP address it thinks you're using.
145)     (If that site is down, see <a
Andrew Lewman clean up wiki and faq refer...

Andrew Lewman authored 14 years ago

146)     href="<wikifaq>#IsMyConnectionPrivate">this
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

147)     FAQ entry</a> for more suggestions on how to test your Tor.)
148)     </p>
149)     
150)     <p>If you have a personal firewall that limits your computer's
151)     ability to connect to itself (this includes something like SELinux on
152)     Fedora Core 4), be sure to allow connections from
153)     your local applications to Polipo (local port 8118) and Tor (local port
154)     9050). If
155)     your firewall blocks outgoing connections, punch a hole so
156)     it can connect to at least TCP ports 80 and 443, and then see <a
Andrew Lewman clean up wiki and faq refer...

Andrew Lewman authored 14 years ago

157)     href="<wikifaq>#FirewalledClient">this
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

158)     FAQ entry</a>.  If your SELinux config is not allowing tor or privoxy to
159)     run correctly, create a file named booleans.local in the directory
160)     /etc/selinux/targeted.  Edit this file in your favorite text editor and
161)     insert "allow_ypbind=1".  Restart your machine for this change to take
162)     effect.
163)     </p>
164)     
165)     <p>If it's still not working, look at <a
Roger Dingledine fix the faq anchors that ha...

Roger Dingledine authored 13 years ago

166)     href="<page docs/faq>#DoesntWork">this
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

167)     FAQ entry</a> for hints.</p>
168)     
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

169)     <hr>
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

170)     <a id="server"></a>
171)     <a id="relay"></a>
172)     <h2><a class="anchor" href="#relay">Step Five: Configure it as a relay</a></h2>
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

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

Andrew Lewman authored 14 years ago

174)     
175)     <p>The Tor network relies on volunteers to donate bandwidth. The more
176)     people who run relays, the faster the Tor network will be. If you have
177)     at least 20 kilobytes/s each way, please help out Tor by configuring your
178)     Tor to be a relay too. We have many features that make Tor relays easy
179)     and convenient, including rate limiting for bandwidth, exit policies so
180)     you can limit your exposure to abuse complaints, and support for dynamic
181)     IP addresses.</p>
182)     
183)     <p>Having relays in many different places on the Internet is what
184)     makes Tor users secure. <a
Andrew Lewman clean up wiki and faq refer...

Andrew Lewman authored 14 years ago

185)     href="<wikifaq>#RelayAnonymity">You
Andrew Lewman first cut of the new, shiny...

Andrew Lewman authored 14 years ago

186)     may also get stronger anonymity yourself</a>,
187)     since remote sites can't know whether connections originated at your
188)     computer or were relayed from others.</p>
189)     
190)     <p>Read more at our <a href="<page docs/tor-doc-relay>">Configuring a relay</a>
191)     guide.</p>
192)     
Sebastian Hahn We decided to go with HTML...

Sebastian Hahn authored 14 years ago

193)     <hr>