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 26 27 28
| # 安装 epel 源 yum update && yum -y install epel-release
# 安装python-pip yum install python-pip
# 升级pip到最新版本 pip install --upgrade pip
# 安装shadowsocks pip install shadowsocks
# 创建shadowsocks配置文件,内容如下 # - 配置文件路径:/etc/shadowsocks.json。
{ "server":"0.0.0.0", "server_port":13579, "local_address": "127.0.0.1", "local_port":1080, "password":"gogen123", "timeout":300, "method":"aes-256-cfb", "fast_open": false }
# 启动服务 ssserver -c /etc/shadowsocks.json -d start
|