Install Shadowsocks-libev + simple-obfs on Ubuntu 16.04


Install shadowsocks-libev via Ubuntu PPA

sudo apt-get install software-properties-common -y sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y sudo apt-get update sudo apt install shadowsocks-libev

Install simple-obfs

apt-get install --no-install-recommends build-essential autoconf libtool libssl-dev libpcre3-dev libev-dev asciidoc xmlto automake git clone https://github.com/shadowsocks/simple-obfs.git cd simple-obfs git submodule update --init --recursive ./autogen.sh ./configure && make make install

Start shadowsocks-libev server

systemctl enable shadowsocks-libev.service systemctl start shadowsocks-libev.service systemctl status shadowsocks-libev.service

Install & enable BBR TCP congestion control

apt install --install-recommends linux-generic-hwe-16.04 apt autoremove modprobe tcp_bbr echo "tcp_bbr" >> /etc/modules-load.d/modules.conf echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf sysctl -p
参考:https://gist.github.com/nuhuo08/01cb865f77967a2ce14841d6d7fc1f02

评论

此博客中的热门博文

FreeBSD安装Pure-FTPd及user manager for PureFTPd

debian lighttpd php ssl

解决nginx出现File not found的问题