debian6.0
apt-get install automake make gcc g++ libpam0g-dev libldap2-dev
wget http://www.54nb.com/ss5-3.6.1-1.tar.gz
tar zxvf ss5-3.6.1-1.tar.gz
cd ss5-3.6.1
./configure --with-defaultport=12379
make
make install
然后我们对ss5的配置文件 进行修改
/etc/opt/ss5/ss5.conf
找到
auth 0.0.0.0/0 - -
改成
auth 0.0.0.0/0 - u
然后在/etc/opt/ss5/ss5.passwd中添加用户名和密码,格式为一行一个用户密码
test 123456
启动ss5:
#ss5 &
centos6.0
service iptables stop
yum -y install wget gcc automake autoconf libtool make pam-devel openldap-devel cyrus -sasl-devel
wget http://www.54nb.com/ss5-3.6.1-1.tar.gz
tar zxvf ss5-3.6.1-1.tar.gz
cd ss5-3.6.1
./configure --with-defaultport=12379
make
make install
/etc/init.d/ss5 start
chkconfig --add ss5
chkconfig ss5 on
netstat -antp
出处:http://lansgg.blog.51cto.com/5675165/1202714
时间: 2024-10-04 17:15:27