wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh
chmod +x bbr.sh
./bbr.sh
安装BBR完成后,分别执行如下命令来检查BBR是否开启成功,分别执行以下命令:
#sudo sysctl net.ipv4.tcp_available_congestion_control
输出应为 net.ipv4.tcp_available_congestion_control = reno cubic bbr
#sudo sysctl -n net.ipv4.tcp_congestion_control
输出应为 bbr
#lsmod | grep bbr
输出应类似 tcp_bbr 20480 1