[Ubuntu]安装tor
授权方式:署名,非商业用途,保持一致,转载时请务必以超链接(http://www.fwolf.com/blog/post/207)的形式标明文章原始出处和作者信息及本声明。实在受不了使用google搜索的时候莫名的连接被重置了,决心安上tor以备不时之需。
Ubuntu下在线安装tor就不用单独下载了,直接apt就可以了:
同时会自动安装上libevent1 tsocks两个包。
然后编辑文件/etc/privoxy/config,在最后加上
注意最后的小点.不要漏了,9050是tor的监听端口,这样才能把所有请求都转发到tor。为了加快速度,关闭掉Privoxy的log功能,同样是编辑/etc/privoxy/config,注释掉如下两句(在262行和288行左右):
jarfile jarfile
如果要修改代理服务器的监听端口,则修改下面这一行:
默认的代理服务器端口是8118。
然后重启Privoxy服务:
现在tor就已经配置好了,不过tor在正常使用网络的时候对速度有影响,所以还需要安装TorButton,配合Firefox随时启用和停用tor,下载地址:https://addons.mozilla.org/firefox/2275/。
安装完TorButton,重新启动firefox即可。在Firefox 的extension中可以对代理服务器端口等设置进行修改,在Firefox状态栏右下角可以看到一个洋葱头图标或者“Tor Disabled”文字,点击即可激活或停止tor。
参考:Tor与Privoxy安装设置指南,ubuntu下tor的安装。
初步试用了一下,速度还可以接受,但既然开/关这么方便,还是“备用”就可以了。
update @ 2006-11-05
配合FoxyProxy使用更加方便!并且不需要privoxy和torbutton了,其实privoxy也能夠实现按网站选用代理的功能,只是没有找到相应的介绍,不会。
![[Bloglines]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/bloglines.png)
![[del.icio.us]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/digg.png)
![[diigo]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/diigo.png)
![[Facebook]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/facebook.png)
![[Google]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/google.png)
![[MySpace]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/myspace.png)
![[Reddit]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/reddit.png)
![[Slashdot]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/slashdot.png)
![[Email]](http://www.fwolf.com/blog/wp-content/plugins/bookmarkify/email.png)