摘录秋水逸冰大大的一键包 适用系统:Centos,Debian,Ubuntu
本人亲测CENTOS6 64BIT有效
安装方法:
-
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
-
chmod +x shadowsocks.sh
-
./shadowsocks.sh 2>&1 | tee shadowsocks.log
卸载方法:
./shadowsocks.sh uninstall
配置文件路径:
/etc/shadowsocks.json
配置多端口多用户:
{
"server":"0.0.0.0",
"local_address":"127.0.0.1",
"local_port":1080,
"port_password":{
"8989":"password0",
"9001":"password1",
"9002":"password2",
"9003":"password3",
"9004":"password4"
},
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false
}
常用命令:
启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
状态:/etc/init.d/shadowsocks status
重新配置:./shadowsocks.sh install