#yum
yum install gcc openldap-devel pam-devel openssl-devel
#下载包
wget http://jaist.dl.sourceforge.net/project/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/
./configure
make
make install
#修改权限
chmod a+x /etc/init.d/ss5
#启动服务
service ss5 start
# 修改多服务器访问
vim /etc/opt/ss5/ss5.conf
# 无账号密码访问
auth 0.0.0.0/0 – -
permit – 0.0.0.0/0 – 0.0.0.0/0 – – – – -
#有账号密码访问
auth 0.0.0.0/0 – u
permit u 0.0.0.0/0 – 0.0.0.0/0 – – – – -
#添加密码
vim /etc/opt/ss5/ss5.passwd
root root
#重启服务
service ss5 restart