centos其实就这三步就可以了:

  1. yum install python-pip
  2. pip install https://github.com/shadowsocks/shadowsocks/archive/master.zip -U
  3. vim /etc/shadowsocks.json
  4. ssserver -c /etc/shadowsocks.json --log-file /var/log/shadowsocks.log -d start

shadowsocks.json文件内容(server_port里的1990你可以改成和你服务器不冲突的端口就行,password里的SSPASSWORD改成你想要的密码就好):

  1. {
  2. "server":"0.0.0.0",
  3. "server_port":1990,
  4. "local_address": "127.0.0.1",
  5. "local_port":1990,
  6. "password":"SSPASSWORD",
  7. "timeout":300,
  8. "method":"aes-256-gcm"
  9. }

分类: web

标签: