一般生产用途的 VPS 推荐只开启系统自带的 BBR 加速即可,因为锐速 / BBRPlus / BBR2 等魔改加速版本需要替换系统内核,可能造成系统不稳定,推荐只用来作为代理使用的服务器安装。

作者博客地址:
https://blog.ylx.me/archives/783.html

预先准备

centos:

yum install ca-certificates wget -y && update-ca-trust force-enable

debian/ubuntu:

apt-get install ca-certificates wget -y && update-ca-certificates

不卸载内核版本(推荐)

wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh

卸载内核版本

wget -O tcp.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

推荐安装 BBRplus 新版内核,reboot 重启。

重启后运行脚本选择 BBRplus+FQ 版加速,reboot 重启。

查看 Linux 所有已安装的内核版本:

dpkg --list | grep linux-image