*** 安装
python 最好 2.7+
安装命令:
yum install epel-release -y
yum install gcc gettext autoconf libtool automake make pcre-devel asciidoc xmlto c-ares-devel libev-devel libsodium-devel mbedtls-devel -y
yum install -y python-setuptools
easy_install pip
pip install ***
配置文件:
/etc/***/config.json
{
"server":"0.0.0.0",
"server_port":443,
"local_address":"127.0.0.1",
"local_port":1080,
"password":"pwd",
"timeout":300,
"method":"aes-256-cfb",
"fast_open":false,
"workers": 4
}
启动停止脚本:
ssserver -c /etc/***/config.json -d start
ssserver -c /etc/***/config.json -d stop
#!/bin/sh
ssserver -c /etc/***/config.json -d stop
ssserver -c /etc/***/config.json -d start

浙公网安备 33010602011771号