Linux内核更换启用TCP加速
- 手动安装BBR Plus所需内核
wget https://github.com/cx9208/bbrplus/raw/master/Debian9/x86_64/linux-headers-4.14.129-bbrplus.deb
wget https://github.com/cx9208/bbrplus/raw/master/Debian9/x86_64/linux-image-4.14.129-bbrplus.deb
dpkg -i linux-headers-4.14.129-bbrplus.deb && dpkg -i linux-image-4.14.129-bbrplus.deb
- 查看当前系统所有内核
dpkg -l|grep linux-image | awk '{print $2}'
- 卸载其余内核
apt-get purge 其余内核名称 -y
- 卸载所有自动安装且不再使用的软件包
apt-get autoremove
- 更新grub系统引导文件
update-grub
- 重启VPS
reboot
- 生效
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbrplus" >> /etc/sysctl.conf
sysctl -p
- 一键脚本
wget -N --no-check-certificate "https://github.000060000.xyz/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
评论已关闭