Centos 6安装BBR魔改版

仅限KVM VPS,需更换内核。其他BBR脚本: 1、Linux下网络安装Debian/Ubuntu/CentOS/Windows纯净版一键脚本 2、TCP加速:BBR 增强版 for Debian/Ubuntu 3、TCP加速:BBR 一键安装 4、Linux下锐速一键安装脚本及Centos、Debian更换内核教程 5、Linux下TCP加速工具:锐速破解版、锐速一键自动安装包 6、Windows下TCP加速工具:锐速GUI2048M 开心版

安装过程如下: 1、将系统内核更换成 4.12 内核

rpm -ivh https://本站.com/wp-content/uploads/2017/11/kernel-ml-4.12.10-1.el6.elrepo.x86_64.rpm

然后重启。

2、修改引导文件

vi /boot/grub/grub.conf

将 default=1 改成default=0,然后重新启动。

3、查看当前是否使用的是4.12.10-1的内核

uanme -a

4、更新以下文件

yum remove kernel-headers -y rpm -ivh https://本站.com/wp-content/uploads/2017/11/kernel-ml-headers-4.12.10-1.el6.elrepo.x86_64.rpm rpm -ivh https://本站.com/wp-content/uploads/2017/11/kernel-ml-devel-4.12.10-1.el6.elrepo.x86_64.rpm

5、进行BBR魔改操作

yum install -y make gcc wget -O ./tcp_tsunami.c https://本站.com/wp-content/uploads/2017/11/tcp_tsunami.c echo "obj-m:=tcp_tsunami.o" > Makefile make -C /lib/modules/$(uname -r)/build M=`pwd` modules CC=/usr/bin/gcc chmod +x ./tcp_tsunami.ko cp -rf ./tcp_tsunami.ko /lib/modules/$(uname -r)/kernel/net/ipv4 insmod tcp_tsunami.ko depmod -a echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=tsunami" >> /etc/sysctl.conf

6、运行 sysctl -p 将内核参数生效。

7、重启。

8、查看是否成功

lsmod | grep tsunami

via:https://www.shaobing.hk/post/8.html

推荐站内搜索:站群服务器、上海域名注册、1g美国虚拟主机、icp备案查询、虚拟主机租赁、免备案、个人域名备案、云服务器租用怎么防止ip被攻击、vps国外服务器、