1. Install the SOCKET5 dependent package yum-y install GCC automake make pam-devel openldap-devel cyrus-sasl-devel 2. Download and install the download website:/http ss5.sourceforge.net/Package:http://iweb.dl.sourceforge.net/project/ss5/ss5/3.8.9-6/ss5-3.8.9-6.tar.gz Note: Do not download the latest version of SS5-3.8.9-7.TAR.GZ, this package installed after the cloth can not start, reported the following error: [11/dec/2012:14:44:50 CST] [INFO] SS5 Version 3.8.9-release 7 starting [11/dec/2012:14:44:50 CST] [INFO] Copyright (C) 2002-2011 by Matteo Ricchetti-<[email protected]>[11/dec/2012:14:44:50 CST] [INFO] Setting dyn Amic configuration. [11/dec/2012:14:44:50 CST] [INFO] Cleaning old configuration. [11/dec/2012:14:44:50 CST] [INFO] Loading and validating new configuration. [11/dec/2012:14:44:50 CST] [0] [Erro] $S 5loadconfdata$: (No such file or directory). [11/dec/2012:14:44:50 CST] [Erro] Configuration not switched. [email protected]:~# tar zxvf ss5-3.8.9-6.tar.gz[email protected]:~# CD ss5-3.8.9[email protected]:~#./configure && make && make install[email protected]:~# CD/ etc/opt/ss5[email protected]:/etc/opt/ss5# lsss5.conf ss5.ha ss5.passwd ss5.conf configuration #auth 0.0.0.0/0 - - -Remove comments, Change to auth 0.0.0.0/0 - UU: Login with ss5.passwd account password-: By default, anyone can use #permit- 0.0.0.0/0 -  ; 0.0.0.0/0 - - - - -Remove Comments: Permit- 0.0.0.0/0 - 0.0.0.0/0 & nbsp - - - - - add username and password VI M ss5.passwdtest test 3. Start Socks Service test [email protected]:~# chmod 777/etc/rc.d/init.d/ss5[email protected]:~#/etc/init.d/ss5 start& NBsp
If you encounter problems can ' t unlink pid file/var/run/ss5/ss5.pid
This is because there are already ss5 running,PS -A | grep ss5
kill It again and start again.
Add SS5 to the service and start randomly
Chkconfig--add SS5
Chkconfig SS5 on
This allows direct service SS5 restart without specifying a path/etc/init.d/ss5
The default is the port
Change SS5 port to ss5 - B IP Address: port
CentOS Build SOCKET5 Proxy Server