Install the Socket5 proxy server in RedHat5

Source: Internet
Author: User
Tags openldap

Install the Socket5 proxy server in RedHat5

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 acts as a WebSockets proxy

Domain Socket configuration method of Nginx + PHP-FPM

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.