v2-6083b933e778c01012322f56a9f7dbd9_1440w.png
不用一键安装脚本,只需几个命令开启BBR,安全可靠。www.ufans.top推荐。
由于Ubuntu16.04默认内核版本较低,所以先更新内核,再安装。
1. 装新内核并重启:

 apt-get install --install-recommends linux-generic-hwe-16.04
 reboot

2.重启后 uname -a 应该会显示新内核 4.15

3. 装载bbr:

 modprobe tcp_bbr
 echo "tcp_bbr" | tee -a /etc/modules-load.d/modules.conf

4. 启用bbr:

echo "net.core.default_qdisc=fq" | tee -a /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" | tee -a /etc/sysctl.conf
sysctl -p

5.试试看,有输出的话就说明搞定了。

sysctl net.ipv4.tcp_congestion_control | grep bbr 

查看

 lsmod | grep bbr

最后修改:2023 年 06 月 02 日
如果觉得我的文章对你有用,请随意赞赏