The method is very simple. Thanks to the tutorials provided by the N16 group of friends!
1. Make necessary preparations first!
#! /Bin/sh
Yum install-y gcc automake autoconf libtool make build-essential autoconf libtool curl-devel zlib-devel openssl-devel perl-devel cpio expat-devel gettext-devel unzip
2. Download the installation package
Wget-no-check-certificate https://github.com/madeye/shadowsocks-libev/archive/master.zip-O shadowsocks-libev.zip
3. Extract
Unzip shadowsocks-libev.zip
4. Go to the installation directory
Cd shadowsocks-libev-master
5. Compile and install
./Configure
Make
Make install
6. Set the port and password and the encryption method
Echo "/usr/local/bin/ss-server-s server IP-p port-m RC4-MD5-k password">/etc/rc. d/rc. local
After executing the preceding command, you can use shadowsocks for link. The above encryption method is RC4-MD5, you can also set the encryption method.
Note that the command in step 1 is executed only once. To change the password or port, edit the/etc/rc. d/rc. local file!