SS Python版一键安装脚本
AI摘要:文章详细介绍了该脚本的适用系统(如CentOS、Debian等)、内存要求及安装方法。用户需以root权限运行特定命令完成安装,成功后脚本会显示服务器IP、端口、密码及加密方式等关键信息。文章还列出了启动、停止、重启等管理命令,以及支持的多种加密协议。最后,作者提醒本文内容可能已过时,涉及的技术细节请谨慎参考。该脚本为在Linux服务器上快速部署Shadowsocks服务提供了便利。
本文代码来自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
