Before compiling the package, we first confirm that the package required for compilation is installed, and we take CentOS as an example
Install Dependency Pack
$ yum install-y wget gcc gcc-c++ make automake autoconf libtool build-essential libtool \
Curl Curl-devel Unzip Zlib-devel openssl-devel perl perl-devel cpio expat-devel Gettext-devel
Compiling autoconf
Since the CentOS 6.5 version of the default installation of the autoconf version is Autoconf-2.63-5.1.el6.noarch, and we compile the source need version is 2.67 and above version, we download the latest source package from here to compile the installation
$ wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz
$ tar zxvf autoconf-latest.tar.gz
$ CD autoconf-2.69
$./configure--PREFIX=/USR
$ make && make install
Download Source Package
Shadowsocks-libev Project homepage
Download the source package and unzip it
$ wget Https://github.com/shadowsocks/shadowsocks-libev/archive/master.zip
$ unzip Master.zip
Compiling source code
$ CD Shadowsocks-libev-master
$./autogen.sh
$./configure--PREFIX=/USR
$ make && make install
Edit configuration file
{
"Server": "IP Address",
"Server_port": 8388,
"Local_port": 7070,
"Password": "Your Password",
"Method": "AES-256-CFB",
"Timeout": 600,
' Fast_open ': true
}
Open service
$ service Shadowsocks-libev Start