变异安装程序
yum install -y gcc make libtool build-essential git
yum install -y curl curl-devel zlib-devel openssl-devel perl perl-devel pcre pcre-devel cpio expat-devel gettext-devel asciidoc xmlto
git clone --recursive https://github.com/shadowsocks/shadowsocks-libev.git
cd shadowsocks-libev
./autogen.sh
./configure --prefix=/usr && make
make install
配置
mkdir -p /etc/shadowsocks-libev
cp ./rpm/SOURCES/etc/init.d/shadowsocks-libev /etc/init.d/shadowsocks-libev
cp ./debian/config.json /etc/shadowsocks-libev/config.json
chmod +x /etc/init.d/shadowsocks-libev
vim /etc/shadowsocks-libev/config.json
chkconfig --add shadowsocks-libev
chkconfig shadowsocks-libev on
service shadowsocks-libev start
参考