Linode搭建VPN小飞机

1.分 Ubuntu 16.04 和 CentOS 7 两个版本为例子

Ubuntu 16.04

apt update && apt upgrade -yuf
apt install -y --no-install-recommends gettext build-essential autoconf libtool libpcre3-dev \
                                       asciidoc xmlto libev-dev libudns-dev automake libmbedtls-dev \
                                       libsodium-dev git python-m2crypto libc-ares-dev

CentOS 7

yum update && yum upgrade -y
yum install epel-release -y
yum install -y gcc gettext autoconf libtool automake make pcre-devel asciidoc xmlto udns-devel \
               libev-devel libsodium-devel mbedtls-devel git m2crypto c-ares-devel

2.Navigate to the /opt directory and download the Shadowsocks Git module:

cd /opt
git clone https://github.com/shadowsocks/shadowsocks-libev.git
cd shadowsocks-libev
git submodule update --init --recursive

3.Install Shadowsocks-libev:

./autogen.sh
./configure
make && make install

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注