Shadowsocks-go 一键安装脚本
重要:本文最后更新于,某些文章具有时效性,若有错误或失效,请在下方留言。
本脚本适用环境:
系统支持:CentOS,Debian,Ubuntu
内存要求:≥64M
日期:2018 年 11 月 05 日
关于本脚本:
一键安装 Go 版的 Shadowsocks 最新版本 1.2.2。与 Python 版不同的是,其客户端程序能使用多个服务端配置,本脚本安装的是服务端程序。
默认配置:
服务器端口:自己设定(如不设定,默认从 9000-19999 之间随机生成)
密码:自己设定(如不设定,默认为 teddysun.com)
加密方式:自己设定(如不设定,默认为 aes-256-cfb)
使用方法:
使用 root 用户登录,运行以下命令:
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh
chmod +x shadowsocksR.sh
./shadowsocksR.sh 2>&1 | tee shadowsocksR.log
卸载方法:
使用 root 用户登录,运行以下命令:
./shadowsocks-go.sh uninstall
安装完成后即已后台启动 Shadowsocks-go ,运行:
/etc/init.d/shadowsocks status
可以查看 Shadowsocks-go 进程是否已经启动。
本脚本安装完成后,已将 shadowsocks-go 加入开机自启动。
使用命令:
启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
状态:/etc/init.d/shadowsocks status
多用户多端口配置文件示例:
配置文件路径:/etc/shadowsocks/config.json
{
"port_password":{
"8989":"password0",
"9001":"password1",
"9002":"password2",
"9003":"password3",
"9004":"password4"
},
"method":"your_encryption_method",
"timeout":600
}
完。
展开阅读更多
[Error] Failed to install python为啥我的失败呀
大佬更新一波,求脚本
@蜗牛 ssr这个最近很容易被封,不推荐用这个了,不过我还是把脚本恢复一下。
我需要你的脚本[email protected]
@hgwohe 现在不是很推荐用ssr,很容易被封锁
已经拿到ip还是连不上为什么,
@ngw 此处只提供安装教程,但是你如果正确操作而连不上,需要检查设置是否在正确,我个人也已经很久没用ssr了,不过这个肯定是可以用的。
Press any key to start...or Press Ctrl+C to cancel
[Info] Checking the EPEL repository...
[Info] Checking the EPEL repository complete...
[Info] Starting to install package unzip
[Info] Starting to install package gzip
[Info] Starting to install package openssl
[Info] Starting to install package openssl-devel
[Error] Failed to install openssl-devel 这个错误怎么解决
Please visit: https://teddysun.com/486.html and contact.
命令不行了,站长更新一波