ubuntu 9.10 安装 tor 笔记
ubuntu 是我最近才开始使用,很多概念、术语以及操作还很陌生。
以前使用windows时安装tor都是很轻松的事,但在ubuntu下变得好像复杂了一些。因为缺乏许多的基础知识,操作起来就变得尤为复杂,无从下手。
下面讲一下我的安装步骤和方法
我知道在ubuntu下安装软件通常是通过“应用程序 -- ubuntu 软件中心“ 或是 “系统 -- 系统管理 --新立得软件包管理器"
起初我是通过“应用程序 -- ubuntu 软件中心“ 搜索 tor 找到了 vidalia 以为这个就是tor的完整套件,安装后启动时找不到tor 我也遍历了很多目录,确实没有这个路径,无奈又把 vidalia 卸载了。
在google搜索"ubuntu 9.10 tor" 找到不少相关的介绍
参考文章:
http://tor.hermetix.org/docs/tor-doc-unix.html.zh-cn
http://tor.hermetix.org/docs/debian.html#ubuntu
http://blog.csdn.net/ablo_zhou/archive/2009/11/28/4897409.aspx
https://help.ubuntu.com/community/Tor?action=show&redirect=TOR
按照tor网站的指示,我下载了安装 libevent
安装过程中提示要下载什么,推荐什么,将卸载什么,我也不懂,最后回答“y“安装了
接着添加 tor 源,添加源后说要添加钥匙,其实顺序应该是先添加钥匙再添加源
在http://blog.csdn.net/ablo_zhou/archive/2009/11/28/4897409.aspx文章说
导入原装Tor的签名键:
sudo gpg --keyserver keys.gnupg.net --recv 886DDD89
sudo gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
应该不要加sudo,正确的应该是:
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
然后在终端执行:
apt-get update
apt-get install tor tor-geoipdb
接着安装privoxy
sudo apt-get install privoxy
配置privoxy
sudo nano /etc/privoxy/config
添加 forward-socks4a / localhost:9050 .
按ctrl+o保存
安装 vidalia
sudo apt-get install vidalia
到此安装完毕,接着可以安装firefox 扩展FoxyProxy Standard
“应用程序 -- ubuntu 软件中心“的FoxyProxy与firefox 3.5.8 不兼容
只好去:https://addons.mozilla.org/en-US/firefox/addon/2464
我是新手很多地方说的不一定正确,此文只是我个人的安装笔记。欢迎大家指正。
评论
sudo apt-get install tor
ahaic@ahaic-laptop:~$ sudo apt-get install tor tor-geoipdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package tor is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package tor has no installation candidate
i got problem with the command of "sudo apt-get install tor tor-geoipdb"?
how come?
solved
use the source:
deb http://deb.torproject.org/torproject.org karmic main
同样的问题
sudo apt-get install tor tor-geoipdb
sudo: unable to resolve host V
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package tor is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package tor has no installation candidate
sudo apt-get install vidalia
sudo apt-get install vidalia 也是连結不到服務器,綗冏埛烱……
你看下http://tor.hermetix.org/do
你看下http://tor.hermetix.org/docs/debian.html#ubuntu
我最近改用SSH,利用putty很方便的。tor过于麻烦,而且很不稳定,经常需要更换网桥。
发表新评论