1.准备工作
(1)安装make工具
sudo apt-get install make
(2)安装gcc
sudo apt-get install build-essential
2.安装libevent
sudo apt-get install libevent-dev
3.安装openssl
sudo apt-get install libssl-dev
4.安装zlib
sudo apt-get install zlib1g-dev
5.编译安装运行tor源码
(1)官网下载源码并且解压
-
wget http://www.theonionrouter.com/dist/tor-0.3.3.9.tar.gz
-
tar zxf tor-0.3.3.9.tar.gz
-
cd tor-0.3.3.9
(2)运行配置文件
./configure
(3)编译安装
make install
(4)运行
tor