1.
wget --no-check-certificate http://bandwagong.b0.upaiyun.com/uploads/ss.sh
2.
chmod +x ss.sh
3.
./ss.sh 2>&1 | tee shadowsocks.log
本脚本安装完成后,已将 shadowsocks-go 加入开机自启动。
4.安装完成后即已后台启动 shadowsocks-go,
查看 shadowsocks-go 进程是否已经启动
/etc/init.d/shadowsocks status
5.卸载方法,使用 root 用户登录,运行以下命令:
./shadowsocks-go.sh uninstall
6.修改用户配置文件(/etc/shadowsocks/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 }
7.
1 启动:/etc/init.d/shadowsocks start 2 停止:/etc/init.d/shadowsocks stop 3 重启:/etc/init.d/shadowsocks restart 4 状态:/etc/init.d/shadowsocks status
时间: 2024-10-24 08:07:27