vps
下载get-pip.py
1 | curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" |
执行get-pip.py
1 | python get-pip.py |
安装pip
1 | pip install --upgrade pip |
安装shadowsocks
1 | pip install shadowsocks |
配置文件
1 | vi /etc/shadowsocks.json |
启动shadowsocks
1 | ssserver -c /etc/shadowsocks.json -d start |
关闭防火墙
1 | systemctl stop firewalld.service |
关闭shadowsocks
1 | ssserver -c /etc/shadowsocks.json -d stop |