1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
一、安装 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 二、输入密码 Please enter password for shadowsocks-python (Default password: teddysun.com): input your password 三、输入端口 Please enter a port for shadowsocks-python [1-65535] (Default port: 8989):input your port 四、 这一步会给出一个列表,输入列表项前面的数字来选择一个加密方法 Which cipher you'd select(Default: aes-256-gcm): input a number 五、安装成功 Congratulations, Shadowsocks-python server install completed! Your Server IP : your server ip Your Server Port : your port Your Password : your password Your Encryption Method:your encryption method Welcome to visit:https://teddysun.com/342.html Enjoy it! |
接下来下载 shadowsocks客户端,服务地址、端口、密码、加密方式填好就可以用了。
1 2 3 4 5 6 7 8 9 10 11 |
六、卸载 ./shadowsocks.sh uninstall 七、ShadowSocks常用命令 后台启动: ssserver -c /etc/shadowsocks.json -d start 后台停止: ssserver -c /etc/shadowsocks.json -d stop 启动:/etc/init.d/shadowsocks start 停止:/etc/init.d/shadowsocks stop 重启:/etc/init.d/shadowsocks restart 状态:/etc/init.d/shadowsocks status |