Linux Shadowsocks-libev Compile installation detailed

Source: Internet
Author: User
Tags curl zip centos


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

Related Article

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.