实验环境:CentOS7
云主机
1.更新yum源:
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
2. 关闭防火墙 & 禁用
//临时关闭
systemctl stop firewalld
//禁止开机启动
systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
3.安装 Nginx
yum -y install nginx
4.安装 Tor
yum -y install tor
5.配置 tor