SS安装脚本

一键安装:

wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh
chmod +x shadowsocks-all.sh
./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log

多用户配置文件:vim /etc/shadowsocks-go/config.json

{
    "server":"0.0.0.0",
    "port_password":{
         "8989":"password0",
         "9001":"password1",
         "9002":"password2",
         "9003":"password3",
         "9004":"password4"
    },
    "method":"aes-256-cfb",
    "timeout":600
}

卸载:

./shadowsocks-all.sh uninstall

启动命令:

启动脚本后面的参数含义,从左至右依次为:启动,停止,重启,查看状态。

echo "alias ss='/etc/init.d/shadowsocks-go'" >> .bashrc

Shadowsocks-Python 版:

/etc/init.d/shadowsocks-python start | stop | restart | status

ShadowsocksR 版:

/etc/init.d/shadowsocks-r start | stop | restart | status

Shadowsocks-Go 版:

/etc/init.d/shadowsocks-go start | stop | restart | status

Shadowsocks-libev 版:

/etc/init.d/shadowsocks-libev start | stop | restart | status

各版本默认配置文件

Shadowsocks-Python 版:

/etc/shadowsocks-python/config.json

ShadowsocksR 版:

/etc/shadowsocks-r/config.json

Shadowsocks-Go 版:

/etc/shadowsocks-go/config.json

Shadowsocks-libev 版:

/etc/shadowsocks-libev/config.json

VPS测速脚本:

wget -qO- –no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash

wget -qO- bench.sh | bash   
或者     
curl -Lso- bench.sh | bash
文章目录
  1. 1. 一键安装:
  2. 2. 卸载:
  3. 3. 启动命令:
  4. 4. VPS测速脚本:
|