在ubuntu上安装shadowshocks 14.04
来源:互联网 发布:淘宝电话人工服务电话 编辑:程序博客网 时间:2024/06/15 10:35
https://gist.github.com/zhiguangwang/7018fbc0a38a5b663868
Installing and running shadowsocks on Ubuntu Server
16.10 yakkety and above
Install the the
shadowsocks-libev
package from apt repository.sudo apt update sudo apt install shadowsocks-libev
Save
ss.json
as/etc/shadowsocks-libev/config.json
.Replace server_port and password in
ss.json
with your own choices.Restart the
shadowsocks-libev
service.sudo systemctl restart shadowsocks-libev sudo systemctl status shadowsocks-libev
16.04 xenial
Install shadowsocks with pip.
sudo apt update sudo apt install python-pip sudo pip install shadowsocks
Save
ss.json
under/etc/shadowsocks/
.Replace server_port and password in
ss.json
with your own choices.Save
ssserver.service
under/usr/lib/systemd/system/
Enable the systemd service.
sudo systemctl enable ssserver sudo systemctl start ssserver sudo systemctl status ssserver
14.04 trusty
Install shadowsocks with pip.
sudo apt-get update sudo apt-get install python-pip sudo pip install shadowsocks
Save
ss.json
,start.sh
,stop.sh
under/etc/shadowsocks/
.Replace server_port and password in
ss.json
with your own choices.Put the following in
/etc/rc.local
to start ssserver upon server start.# Start shadowsocks server /etc/shadowsocks/start.sh
Use TCP BBR
This will install linux kernel 4.9 and enable TCP BBR congestion control algorithm to improve network bandwidth utilization (10x improvement is not uncommon).
URL=http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.9/linux-image-4.9.9-040909-generic_4.9.9-040909.201702090333_amd64.debwget $URLsudo dpkg -i $(basename $URL)sudo rebootecho "net.core.default_qdisc=fq" | sudo tee -a /etc/sysctl.confecho "net.ipv4.tcp_congestion_control=bbr" | sudo tee -a /etc/sysctl.confsudo sysctl -psysctl net.ipv4.tcp_available_congestion_controlsysctl net.ipv4.tcp_congestion_controllsmod | grep bbr
- 在ubuntu上安装shadowshocks 14.04
- 在Ubuntu 14.04上安装最新版mesa
- 在 Ubuntu 14.04 Server 上安装 Ganglia
- Docker 在Ubuntu 14.04上的安装
- 在Ubuntu 14.04上安装Caffe
- 在Ubuntu 14.04上安装MariaDB
- 在 Ubuntu 14.04 Server 上安装 Ganglia
- 在Ubuntu 14.04上安装Caffe
- 如何在Ubuntu 14.04上安装Wine
- 在Ubuntu KyLin 14.04上安装CUDA
- 在Ubuntu 14.04 上安装 Xmind
- 在 Ubuntu 14.04 Server 上安装 Ganglia
- 在Ubuntu上安装Ruby
- 在Ubuntu上安装SVN
- 在Ubuntu上安装PostgreSQL
- 在Ubuntu上安装VNC
- 在Ubuntu上安装openssh
- 在ubuntu上安装trac
- React Router页面传值的三种方法
- Java垃圾回收机制详解—动力节点Java学院整理
- 最简单的中文机器学习教程
- 经典博弈算法三大模板
- 51nod 1605 棋盘问题(博弈)
- 在ubuntu上安装shadowshocks 14.04
- SQLServer 2008以上误操作数据库恢复方法——日志尾部备份
- 详解路径层和裁剪区域应用
- 选项卡左滑喜欢,右滑不喜欢实现AndroidSwipeableCardStack
- python3+matplotlib+tkinter
- 多订单多支付方式分配金额问题
- Codeforces 387E George and Cards【思维+RMQ+二分+树状数组】被卡常= =
- AFN鍜孲DWebImage璇锋眰缃戠粶鍥剧墖鐨勪竴鐐归棶棰-- ITCoderW
- 后缀数组模板