Linux开启BBR–囊括KVM OVZ开启BBR一键安装

Debian/Ubuntu 开启 TCP BBR 拥塞算法

此方式不适用于OPENVZ
下载地址:

wget --no-check-certificate -qO 'BBR.sh' 'https://moeclub.org/attachment/LinuxShell/BBR.sh' && chmod a+x BBR.sh

 

使用方法,普通模式,最后需要按下回车才会重启.

bash BBR.sh

 

强制模式,全自动(如果中间不报错),不需要按下回车.

bash BBR.sh -f

 

检测:
重启后运行以下命令,结果不为空,则开启BBR成功.

lsmod |grep 'bbr'

 

CentOS 6+,Debian 7+,Ubuntu 12+ 开启BBR拥塞算法

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh

 


OpenVZ 魔改BBR lkl-rinetd 一键脚本

Debian or Ubuntu

wget https://github.com/tcp-nanqinlang/lkl-wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-debianorubuntu.sh

运行

bash tcp_nanqinlang-rinetd-debianorubuntu.sh

CentOS 7

wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-centos.sh

运行

bash tcp_nanqinlang-rinetd-centos.sh

以上参考https://github.com/tcp-nanqinlang/wiki/wiki/lkl-rinetd

如果tun/tap enabled 用OpenVZ魔改BBR – lkl-haproxy 一键脚本

Debian 8+ 环境

wget https://github.com/tcp-nanqinlang/lkl-haproxy/releases/download/1.1.1/tcp_nanqinlang-haproxy-debian.sh

运行

bash tcp_nanqinlang-haproxy-debian.sh

CentOS 7 环境

wwget https://github.com/tcp-nanqinlang/lkl-haproxy/releases/download/1.1.1/tcp_nanqinlang-haproxy-centos.sh

运行

bash tcp_nanqinlang-haproxy-centos.sh

以上参考https://github.com/tcp-nanqinlang/wiki/wiki/lkl-haproxy

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*
*