开启 OpenVZ VPS BBR 加速的三种方式:BBRPLUS lkl-haproxy、NanQinLang和NanQinLang/Rinetd一键脚本

早几天我推荐了 最新谷歌 BBR v3 加速一键脚本代码,实测速度提升明显且稳定,这个脚本主要是针对 KVM 架构的 Linux VPS。实际上除了主流的 KVM VPS,国外主机商家还在销售 OpenVZ  VPS,主打一个便宜,OpenVZ VPS 性价比非常高,价格便宜,Linux 运行效率高,不超售情况下表现优于 KVM,缺点是 OpenVZ VPS 内核不独立,特别容易超售。

刚开始 BBR 出来的时候,不支持 OpenVZ 的,后来有大佬开发除了魔改版,不过要注意的是 OpenVZ  VPS 必须有 TUN/TAP 功能,有的主机商家不提供 TUN/TAP 功能,也有是默认关闭的,需要手动开启。

网上主要提供以下两种方案

一、BBRPLUS lkl-haproxy

lkl-linux+haproxy hack 版本 bbrplus,在 OpenVZ 工作良好。需要开启 TUN/TAP 和至少 256M 空余内存。

将以下代码复制到终端中,支持 Debian / Ubuntu / CentOS 镜像。

wget --no-check-certificate --no-cache -O lkl-haproxy.sh https://github.com/mzz2017/lkl-haproxy/raw/master/lkl-haproxy.sh && bash lkl

执行后按提示输入对应的内容。

[Info] 选择你要使用的功能: 
1.安装 lkl bbrplus
2.检查 lkl bbrplus运行状态
3.卸载 lkl bbrplus
输入数字以选择:

Debian

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

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

Debian 单网卡

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

多网卡

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

CentOS 单网卡

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

多网卡

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

未经允许不得转载:主机格调 » 开启 OpenVZ VPS BBR 加速的三种方式:BBRPLUS lkl-haproxy、NanQinLang和NanQinLang/Rinetd一键脚本

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏