8c4b2385f5427b156c18c61bbcbb6ecc0ec98907
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

1) ## translation metadata
Pei Hanru Updated zh-cn translation.

Pei Hanru authored 16 years ago

2) # Based-On-Revision: 11815
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

3) # Last-Translator: peihanru AT gmail.com
4) 
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

5) #include "head.wmi" TITLE="Linux/BSD/Unix 安装指导" CHARSET="UTF-8"
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

6) 
7) <div class="center">
8) 
9) <div class="main-column">
10) 
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

11) <h1>在 Linux/BSD/Unix 上运行 <a href="<page index>">Tor</a> 客户端</h1>
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

12) <br />
13) 
14) <p>
15) <b>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

16) 请注意此处提供的是运行 Tor 客户端的安装指导。
17) 如果你想要贡献流量帮助网络增长(请这么做),
18) 请阅读<a href="<page docs/tor-doc-server>">配置服务器</a>指南。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

19) </b>
20) </p>
21) 
22) <hr />
23) <a id="installing"></a>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

24) <h2><a class="anchor" href="#installing">第一步:下载并安装 Tor</a></h2>
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

25) <br />
26) 
27) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

28) Tor 最新发布版本可以在<a href="<page download>">下载</a>页面获得。
29) 我们同样提供了 Debian,Red Hat,Gentoo,*BSD 等的软件包。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

30) </p>
31) 
32) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

33) 如果你打算从源文件编译,首先安装 <a href="http://www.monkey.org/~provos/libevent/">libevent</a>,
34) 并确认已安装 openssl 和 zlib(包括 -devel 软件包)。
35) 然后执行:<br />
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

36) <tt>tar xzf tor-<version-stable>.tar.gz; cd tor-<version-stable><br />
37) ./configure &amp;&amp; make</tt><br />
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

38) 现在你可以通过 <tt>src/or/tor</tt> 运行 Tor,
39) 或者你可以执行 <tt>make install</tt>(需要 root 权限)把它安装到 /usr/local,
Pei Hanru Updated zh-cn translation.

Pei Hanru authored 17 years ago

40) 之后你就能通过 <tt>tor</tt> 启动 Tor。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

41) </p>
42) 
43) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

44) 默认状态下,Tor 被配置为客户端。它使用一个内置的默认配置文件,
45) 大多数人不需要修改其中的任何设置。Tor 安装完毕。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

46) </p>
47) 
48) <hr />
49) <a id="privoxy"></a>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

50) <h2><a class="anchor" href="#privoxy">第二步:为 Web 浏览安装 Privoxy</a></h2>
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

51) <br />
52) 
53) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

54) Tor 安装结束后,你需要配置应用程序来使用它。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

55) </p>
56) 
57) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

58) 第一步是配置 Web 浏览。
59) 首先安装 <a href="http://www.privoxy.org/">Privoxy</a>:
Pei Hanru Updated zh-cn translation.

Pei Hanru authored 17 years ago

60) 点击“recent releases”然后选择你需要的软件包或者直接从源文件安装。
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

61) Privoxy 是一个进行内容过滤的 Web 代理,能与 Tor 很好地结合。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

62) </p>
63) 
64) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

65) Privoxy 安装完成后(通过软件包或源文件),<b>你需要配置 Privoxy 使用 Tor</b>。
Pei Hanru Updated zh-cn translation.

Pei Hanru authored 17 years ago

66) 打开 Privoxy 的“config”文件(位于 /etc/privoxy 或 /usr/local/etc),
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

67) 在配置文件的开始添加一行<br />
Nick Mathewson Recommend 127.0.0.1 over lo...

Nick Mathewson authored 17 years ago

68) <tt>forward-socks4a / 127.0.0.1:9050 .</tt><br>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

69) 别忘了最后那个点。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

70) </p>
71) 
72) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

73) Privoxy 保留了一个日志文件记录所有通过它的东西。
Pei Hanru Updated zh-cn translation.

Pei Hanru authored 17 years ago

74) 为了阻止这个你需要注释掉三行(在行前添加一个 #)。
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

75) 这三行是:<br />
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

76) <tt>logfile logfile</tt><br>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

77) 和<br>
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

78) <tt>jarfile jarfile</tt><br>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

79) 和(在某些系统上)<br>
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

80) <tt>debug 1  # show each GET/POST/CONNECT request</tt><br>
81) </p>
82) 
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

83) <p>为了使修改生效,你需要重启 Privoxy。</p>
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

84) 
85) <hr />
86) <a id="using"></a>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

87) <h2><a class="anchor" href="#using">第三步:配置应用程序使用 Tor</a></h2>
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

88) <br />
89) 
90) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

91) 当 Tor 和 Privoxy 安装结束后,你需要配置你的应用程序来使用它们。
92) 第一步是配置 Web 浏览。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

93) </p>
94) 
95) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

96) 如果你使用 Firefox(这是我们所推荐的),安装
97) <a href="https://addons.mozilla.org/firefox/2275/">Torbutton 插件</a>,
98) 然后重新启动 Firefox,就这么简单:
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

99) </p>
100) 
101) <img alt="Torbutton plugin for Firefox"
102) src="../img/screenshot-torbutton.png"
103) border="1">
104) 
105) <br />
106) 
107) <p>
Pei Hanru Updated zh-cn translation.

Pei Hanru authored 16 years ago

108) (<a href="https://torbutton.torproject.org/">更多关于 Torbutton</a>。
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

109) 如果你打算在没有安装 Tor 的计算机上使用 Firefox,
110) 请阅读<a href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SocksListenAddress">在另一台计算机上运行 Tor 的 FAQ 条目</a>。
111) 如果你需要使用除 Firefox 以外的其他浏览器,
112) 你就得<a href="<page docs/tor-doc-web>">自己配置代理设置</a>。)
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

113) </p>
114) 
115) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

116) 使用 Privoxy 是<strong>必要的</strong>,
117) 因为<a href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">当直接使用 SOCKS 代理时,浏览器会泄露你的 DNS 请求</a>,
118) 这于你的匿名不利。
119) 同时,Privoxy 会删除 Web 请求中危险的报头并且阻挡 Doubleclick 之类的令人厌恶的广告站点。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

120) </p>
121) 
122) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

123) 要让其他支持 HTTP 代理的应用程序使用 Tor,将它们指向 Provixy 即可(也就是 localhost 端口 8118)。
124) 直接使用 SOCKS(即时通讯、Jabber、IRC 等),可将你的应用程序直接指向 Tor(localhost 端口 9050),
125) 但是请阅读<a href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">此 FAQ 条目</a>——你得明白这么做可能是危险的。
126) 对于既不支持 SOCKS 也不支持 HTTP 的应用程序,考虑一下
127) <a href="http://tsocks.sourceforge.net/">tsocks</a> 或者
128) <a href="http://wiki.noreply.org/noreply/TheOnionRouter/TorifyHOWTO#socat">socat</a>。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

129) </p>
130) 
131) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

132) 如何 Tor 化(Torify)其他应用程序的信息请查看
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

133) <a href="http://wiki.noreply.org/wiki/TheOnionRouter/TorifyHOWTO">Torify
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

134) HOWTO</a>。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

135) </p>
136) 
137) <hr />
138) <a id="verify"></a>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

139) <h2><a class="anchor" href="#verify">第四步:确定它在工作</a></h2>
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

140) <br />
141) 
142) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

143) 然后,你应该通过浏览器来验证你的 IP 地址已经匿名化了。
yGREK Heretix update translations with th...

yGREK Heretix authored 16 years ago

144) 点击 <a href="http://torcheck.xenobite.eu/">Tor 探测器</a>看看它是否认为你在使用 Tor。
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

145) (如果这个站点下线了,
146) <a href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#IsMyConnectionPrivate">此 FAQ 条目</a>有如何测试 Tor 的更多建议。)
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

147) </p>
148) 
149) <p>
Pei Hanru Updated zh-cn translation.

Pei Hanru authored 17 years ago

150) 如果你的个人防火墙限制你的计算机连接到它自己(包括 Fedora Core 4 上面的 SELinux 这样的东西),
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

151) 一定要允许从本地应用程序到 Privoxy(本地端口 8118)和 Tor(本地端口 9050)的连接。
152) 如果你的防火墙阻挡向外的连接,那么至少让它能够连接 TCP 端口 80 和 443,
153) 然后阅读<a href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#FirewalledClient">此 FAQ 条目</a>。
154) 如果 SELinux 的配置使得 Tor 或者 Privoxy 无法正常运行,
155) 在目录 /etc/selinux/targeted 下创建一个名为 booleans.local 的文件。
Pei Hanru Updated zh-cn translation.

Pei Hanru authored 17 years ago

156) 用你喜爱的文本编辑器修改这个文件加入“allow_ypbind=1”。
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

157) 然后重启机器使修改生效。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

158) </p>
Pei Hanru Updated a file, touched a f...

Pei Hanru authored 17 years ago

159) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

160) 如果它还是罢工,
161) 那就看看<a href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#ItDoesntWork">此 FAQ 条目</a>寻找一些线索。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

162) </p>
163) 
164) <hr />
165) <a id="server"></a>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

166) <h2><a class="anchor" href="#server">第五步:配置服务器</a></h2>
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

167) <br />
168) 
169) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

170) Tor 网络依靠志愿者们贡献带宽运行。运行服务器的人越多,Tor 网络的速度就越快。
171) 如果你的网络连接速度达到至少每秒 20KB,请运行一台服务器以帮助 Tor。
172) 我们有许多特性使得 Tor 服务器的运行简单而方便,包括带宽的速率限制,
173) 定制出口策略以避免滥用,以及对于动态 IP 地址的支持。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

174) </p>
175) 
176) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

177) 在互联网上的许多不同地方运行服务器保护了 Tor 用户的安全。
178) <a href="http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#ServerAnonymity">你自身的匿名也能得到更好的保护</a>,
179) 因为站点不知道连接究竟来自你的电脑还是为他人传递。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

180) </p>
181) 
182) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

183) 阅读更详细的<a href="<page docs/tor-doc-server>">配置服务器</a>指导。
Pei Hanru new translated zh-cn docs

Pei Hanru authored 17 years ago

184) </p>
185) 
186) <hr />
187) 
188) <p>
Pei Hanru Fixed character encoding pr...

Pei Hanru authored 17 years ago

189) 如果你有改进本文档的建议,请<a href="<page contact>">告诉我们</a>。
190) 谢谢!