Linux下配置Shadowsocks科学上网

2018-12-11 01:10:28 / Codes / 0 Comments

环境:CentOS7X64
1.下载脚本
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-libev.sh
2.增加执行权限
chmod +x shadowsocks-libev.sh
3.运行
./shadowsocks-libev.sh 2>&1 | tee shadowsocks-libev.log
安装过程中会提示配置端口、密码、加密方式。
4.卸载
./shadowsocks-libev.sh uninstall
5.控制

启动:

/etc/init.d/shadowsocks start

停止:

/etc/init.d/shadowsocks stop

重启:

/etc/init.d/shadowsocks restart

查看状态:

/etc/init.d/shadowsocks status




Comments