安装BBR前,请将系统内核升级至5.5以上
查看系统内核版本号及系统名称:
uname -a
1、开始安装:
yum install ca-certificates wget -y && update-ca-trust force-enable
wget -O tcpx.sh "https://github.com/ylx2016/Linux-NetSpeed/raw/master/tcpx.sh" && chmod +x tcpx.sh && ./tcpx.sh
2、此时会显示安装面板,根据需要选择安装选项。
3、检查是否安装成功:
#检查bbr 内核默认bbr算法不会有输出
lsmod | grep bbr
#查看当前支持TCP算法
cat /proc/sys/net/ipv4/tcp_allowed_congestion_control
#查看当前运行的算法
cat /proc/sys/net/ipv4/tcp_congestion_control
#查看当前队列算法
sysctl net.core.default_qdisc