一,安装Tor浏览器教程(转载)
本文章主要讲Tor网络被封禁的问题,tor的安装教程直接转载,我会详细讲被封禁的问题
准备
- 安装 tor
服务器上装的是Centos 7 系统,在这里就只记录Centos 7 的安装方式。其它系统的安装方式大同小异,具体可以google一下。
- 首先 update 一下 yum 源,添加 tor 的 repo
sudo yum install epel-release sudo yum install tor
- 安装完成以后,启动 tor 服务
sudo systemctl start tor # 启动 tor 服务 sudo systemctl enable tor # 设置开机自启
sudo systemctl status tor # 查看 tor 运行状态,显示为 active 表示启动成功,服务正在运行
- 配置 tor 服务 这一步网上的教程里面一般讲的不是很详细,中间遇到的坑会比较多。
- 先测试一下是否可以连接 tor 代理服务
sudo yum install nc echo -e 'AUTHENTICATE' | nc 127.0.0.1 9051
不出意外,输出应该是 Connection refused</