1、确保安装 2.6 或者 2.7 1 2 3 $ python --version Python 2.6 .8 Then install from PIP
2、安装pip curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
3、安装shadowsocks pip install shadowsocks
查看已安装软件列表pip freeze|grep shadow
which ssserver
/usr/local/bin/ssserver
创建配置目录配置文件
1 2 3 4 5 6 7 8 9 10 11 12 mkdir /etc/shadowsocks -p more /etc/shadowsocks/config.json { "server":"0.0.0.0", "server_port":1194, "local_address":"127.0.0.1", "password":"123!@#ljt", "timeout":300, "method":"aes-256-cfb", "fast_open":false, "workers":4 }
4、启动服务 ssserver -c /etc/shadowsocks/config.json -d start
启动服务指定日志文件ssserver -c /etc/shadowsocks/config.json -d start --log-file /tmp/shadowsock.log
在后台启动 ss 客户端nohup sslocal -s your_server_ip -p your_server_port -l 1080 -k your_server_passwd -t 600 -m rc4-md5 > /dev/null 2>&1 &