1. RedHat5 install ss5 required dependent package [root @ mailServer] # rpm-ivhpam-devel-0.99.6.2-3.27.el5.i386.rpmwarning: pam-devel-0.99.6.2-3.27.el5.i386.rpm: HeaderV3DSAsignature: NOKEY, keyID37017186Preparing...
1. Dependency software packages required for installing ss5 in RedHat5
[Root @ mail 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%]
[Root @ mail 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
[Root @ mail 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 [root @ mail 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
7. Use user verification to restart the ss5 Service
/Etc/init. d/ss5 restart
Nginx as WebSockets proxy http://www.linuxidc.com/Linux/2014-05/101969.htm
Domain Socket configuration method PHP-FPM for Nginx + http://www.linuxidc.com/Linux/2013-07/87414.htm
For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-09/106384.htm