System environment:
[Root@hk service]# Uname-m
x86_64
[Root@hk service]# Cat/etc/redhat-release
CentOS Release 6.6 (Final)
[Root@hk service]# Uname-a
Linux www.111cn.net 2.6.32-042stab113.11 #1 SMP Fri Dec 17:32:04 MSK 2015 x86_64 x86_64 x86_64
Installation configuration:
[Root@hk service]# yum install build-essential autoconf libtool openssl-devel gcc git gcc-c++-y
[Root@hk service]# git--version
git version 1.7.1
[Root@hk service]# git clone https://github.com/madeye/shadowsocks-libev.git
Resolving deltas:100% (4288/4288), done.
[Root@hk service]# LL
Total 4
Drwxr-xr-x root root 4096 Mar 02:05 Shadowsocks-libev
[Root@hk service]# CD shadowsocks-libev/
[Root@hk shadowsocks-libev]#./configure
[Root@hk shadowsocks-libev]# make && make install
[Root@hk shadowsocks-libev]# ll/usr/local/bin/ss-*
-rwxr-xr-x 1 root root 1150469 Mar 02:08/usr/local/bin/ss-local
-rwxr-xr-x 1 root root 370069 Mar 02:08/usr/local/bin/ss-manager
-rwxr-xr-x 1 root root 1043640 Mar 02:08/usr/local/bin/ss-redir
-rwxr-xr-x 1 root root 1277006 Mar 02:08/usr/local/bin/ss-server
-rwxr-xr-x 1 root root 1039713 Mar 02:08/usr/local/bin/ss-tunnel
[Root@hk shadowsocks-libev]# Cat Config.json
{
"Server": "x.x.x.x",
"Server_port": 12345,
"Password": "1234567",
"Timeout": 600,
"Method": "AES-256-CFB"
# # #请删除, the kernel does not support ' Fast_open ': ' True ' ###
}
[Root@hk shadowsocks-libev]#/usr/local/bin/ss-server-c/byrd/service/shadowsocks-libev/config.json-f/tmp/ss.pid
[Root@hk shadowsocks-libev]# NETSTAT-TUNLP
Active Internet connections (only servers)
Proto recv-q Send-q Local address Foreign address State Pid/program Name
tcp 0 0 x.x.x.x:12345 0.0.0.0:* listen 17217/ss-server