安装包来自Teddysun,特感谢之,有问题可以访问https://teddysun.com。
1.安装过程
Debian 版本安装
wget –no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-libev-debian.sh
chmod +x shadowsocks-libev-debian.sh
./shadowsocks-libev-debian.sh 2>&1 | tee shadowsocks-libev-debian.log
Centos 版本安装
wget –no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-libev.sh
chmod +x shadowsocks-libev.sh
./shadowsocks-libev.sh 2>&1 | tee shadowsocks-libev.log
安装完成之后,会出现如下提示,显示着你的帐号密码,请记好:
Your Server IP:your_server_ip //你的服务器IP
Your Server Port:your_server_port //你的shadowsocks服务器端口
Your Password:your_password //你的shadowsocks帐号密码
Your Local IP:127.0.0.1
Your Local Port:1080
Your Encryption Method:aes-256-cfb //shadowsocks的加密方式
2.使用命令说明
启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
状态:/etc/init.d/shadowsocks status
卸载:./shadowsocks-libev.sh uninstall //Centos 版卸载
./shadowsocks-libev-debian.sh uninstall //Debian 版卸载