--- --- restore content begins
1. Install
Install the dependent libraries
yum -y install gcc gcc-c++ automake make pam-devel openldap-devel cyrus-sasl-devel
Download Source Package compiled and installed
wget http://downloads.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz cp ss5-3.8.9-8.tar.gz /usr/local/src cd /usr/local/src tar zxvf ss5-3.8.9-8.tar.gz cd ss5-3.8.9-8 ./configure make make install
2. modify the configuration file
2.1 modify /etc/opt/ss5/ss5.conf
/etc/opt/ss5/ss5.conf vi ================ ...... // cancel the line 87 comment auth 0.0.0.0/0 ..... . // cancel line 203 Notes permit - 0.0.0.0/0 - 0.0.0.0/0
2.2 /etc/rc.d/init.d/ss5 file modify a custom port, default 1080
32 // modify Line daemon / usr / sbin / SS5 -t -b 0.0.0.0:10888 $ SS5_OPTS
2.3 in / etc / sysconfig / ss5 Uncomment
SS5_OPTS=” -u root”
2.4 Add to authenticate the user and password, because the password is in plain text, pay attention to the control authority.
# Row of a user + password vi /etc/opt/ss5/ss5.passwd