MyBBS
甲骨文ubuntu dibian开启原生bbr - Printable Version

+- MyBBS (https://bbs.mjjjd.eu.org)
+-- Forum: My Category (https://bbs.mjjjd.eu.org/forumdisplay.php?fid=1)
+--- Forum: VPS (https://bbs.mjjjd.eu.org/forumdisplay.php?fid=2)
+--- Thread: 甲骨文ubuntu dibian开启原生bbr (/showthread.php?tid=16)



甲骨文ubuntu dibian开启原生bbr - adahrzgj - 08-21-2022


#首先先更新下系统,然后安装依赖组建:
apt-get update
apt-get update && apt-get install -y wget curl

#之后开启原生BBR:
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p

#检测是否正常开启BBR:
sysctl net.ipv4.tcp_available_congestion_control
lsmod | grep bbr
如果第一项输出为reno cubic bbr第二项为tcp_bbr即表示开启成功。

*************************************************

今天老哥发的脚本更方便。wget-N--no-check-certificate "https://github.000060000.xyz/tcp.sh" && chmod+X tep.sh&&./tcp.sh