uname -a
linux Vultr.idcbabyl7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/os-release
NAME=”centos Linux”VERSiON=”7 (Core)”
ID=”centos”ID_LIKE=”rhel fedora”
VERSION_ID=”7″
PRETTY_NAME=”CentOS Linux 7 (Core)”
ANSI_COLOR=”0;31″
CPE_NAME=”cpe:/o:centos:centos:7″
HOME_URL=”https://www.centos.org/”
BUG_REPORT_URL=”https://buidcbabyntos.org/”
yum –version 3.4.3
yum install idcbabyl
widcbabyct/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz
tar -vzx -f ss5-3.8.9-8.tar.gz
cd ss5-3.8.9/
./confiidcbaby
编译
make
安装
make install
修改脚本权限
chmod a+x /etc/init.d/ss5
vi /etc/opt/ss5/ss5.conf
# 如果需要配置访问权限
# auth 0.0.0.0/0 – u
# permit u 0.0.0.0/0 – 0.0.0.0/0 – – – – –
vi /etc/opt/ss5/ss5.passwd
# 格式为 用户名 密码
# username password
vi /etc/sysconfig/ss5
# SS5_OPTS=” -u root -b 0.0.0.0:8080″
service ss5 start
chkconfig –add ss5 chk
confiidcbabyl 345 ss5 on chk
confiidcbabyp ss5