1. Install the dependent software packages required by SS5
[[Email protected] server] # rpm-IVH pam-devel-0.99.6.2-3.27.el5.i386.rpm
Warning: pam-devel-0.99.6.2-3.27.el5.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
1: pam-devel ##################################### ###### [100%]
[[Email protected] server] # rpm-IVH openldap-devel-2.3.27-8.el5_1.3.i386.rpm
Warning: openldap-devel-2.3.27-8.el5_1.3.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Error: Failed dependencies:
Cyrus-sasl-devel> = 2.1 is needed by openldap-devel-2.3.27-8.el5_1.3.i386
[[Email protected] server] # rpm-IVH cyrus-sasl-devel-2.1.22-4.i386.rpm
Warning: cyrus-sasl-devel-2.1.22-4.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
1: cyrus-sasl-devel ################################### ####### [1, 100%]
^ [[A [[email protected] server] # rpm-openldap-devel-2.3.27-8.el5_1.322-4.i386.rpm
Warning: openldap-devel-2.3.27-8.el5_1.3.i386.rpm: Header V3 DSA Signature: nokey, key ID 37017186
Preparing... ######################################## ### [100%]
1: openldap-devel ##################################### ###### [100%]
2. Download and compile socket5 software ss5-3.6.1
Wget http://static.auvps.com/uploads/2013/04/ss5-3.6.1-1.tar.gz
Tar zxvf ss5-3.6.1-1.tar.gz
CD ss5-3.6.1
./Configure
Make
Make install
3. Start SS5 services
/Etc/init. d/SS5 start
4. Add SS5 to the service and start it randomly
Chkconfig -- add SS5
Chkconfig -- level 2345 SS5 on
5. SS5 uses port 1080 by default and is allowed by anyone. In/etc/opt/SS5/ss5.conf
# Shost sport Authentication
# Auth 0.0.0.0/0 --
To:
# Shost sport Authentication
Auth 0.0.0.0/0-u
6. Add the user name and password to/etc/opt/SS5/ss5.passwd, for example:
Test test
7. Use user verification to restart the SS5 Service
/Etc/init. d/SS5 restart
This article is from the "Eddy technology blog" blog, please be sure to keep this source http://gongeddy.blog.51cto.com/2993788/1550356
Install the socket5 proxy server in redhat5