SS Python版一键安装脚本
本文代码来自Shadowsocks Python版一键安装脚本
系统支持 | 内存要求 | 日期 |
---|---|---|
CentOS 6 CentOS 7 Debian Ubuntu | ≥128M | 2017 年 07 月 21 日 |
使用root用户登录,运行以下命令:
yum install wget -y
wget --no-check-certificate -O shadowsocks.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
chmod +x shadowsocks.sh
./shadowsocks.sh 2>&1 | tee shadowsocks.log
安装完成后,脚本提示如下:
Congratulations, Shadowsocks-python server install completed!
Your Server IP :your_server_ip
Your Server Port :your_server_port
Your Password :your_password
Your Encryption Method:your_encryption_method
Welcome to visit:https://teddysun.com/342.html
Enjoy it!
启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
状态:/etc/init.d/shadowsocks status
卸载:./shadowsocks.sh uninstall
支持如下加密方式,推荐使用13,AEAD Ciphers
aes-256-gcm
aes-192-gcm
aes-128-gcm
aes-256-ctr
aes-192-ctr
aes-128-ctr
aes-256-cfb
aes-192-cfb
aes-128-cfb
camellia-128-cfb
camellia-192-cfb
camellia-256-cfb
chacha20-ietf-poly1305
chacha20-ietf
chacha20
rc4-md5
其他说明:
查看SS密码 cat /etc/shadowsocks.json
修改SS密码 vi /etc/shadowsocks.json