bbr 原版/魔改/plus+锐速 四合一脚本
/ 2 min read
预先准备
CentOs:yum install ca-certificates wget -y && update-ca-trust force-enableDebian/Ubuntu:apt-get install ca-certificates wget -y && update-ca-certificates不卸载内核版本
wget -O tcpx.sh "https://git.io/JYxKU" && chmod +x tcpx.sh && ./tcpx.sh卸载内核版本
wget -O tcp.sh "https://git.io/coolspeeda" && chmod +x tcp.sh && ./tcp.sh关联action自动编译内核
双持bbr+锐速
bbr 添加
echo "net.core.default_qdisc=fq" >> /etc/sysctl.d/99-sysctl.confecho "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.d/99-sysctl.confsysctl -p编辑锐速文件
nano /appex/etc/config检测代码有BUG,如果锐速正常 运行查看
bash /appex/bin/lotServer.sh status | grep "LotServer"检查bbr 内核默认bbr算法不会有输出
lsmod | grep bbr检查centos安装内核
grubby --info=ALL|awk -F= '$1=="kernel" {print i++ " : " $2}'查看当前支持TCP算法
cat /proc/sys/net/ipv4/tcp_allowed_congestion_control查看当前运行的算法
cat /proc/sys/net/ipv4/tcp_congestion_control查看当前队列算法
sysctl net.core.default_qdisc命令: uname -a
作用: 查看系统内核版本号及系统名称
命令: cat /proc/version
作用: 查看目录“/proc“下version的信息,也可以得到当前系统的内核版本号及系统名称
DD脚本
https://www.cxthhhhh.com/network-reinstall-system-modify
高科技
服务周期
https://zh.wikipedia.org/zh/Ubuntu
https://wiki.ubuntu.com/Releases
https://wiki.debian.org/LTS
https://wiki.centos.org/zh/About/Product