Oracle CentOS7 更换内核安装bbr plus

密钥登陆小鸡
sudo su #管理员权限
cd
cd /etc/ #进入/etc/目录
wget https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/bbrplus/centos/7/kernel-4.14.129-bbrplus.rpm #拉取内核
rpm -ivh kernel-4.14.129-bbrplus.rpm –force #安装内核两条横杠手动输入
rpm -qa | grep kernel #查看内核是否安装成功
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg #更新引导
cat /boot/grub2/grub.cfg |grep menuentry #查看引导列表
grub2-set-default ‘CentOS Linux (4.14.129-bbrplus) 7 (Core)’ #修改默认开机内核
reboot #重启
wget -N –no-check-certificate “https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh” && chmod +x tcp.sh && ./tcp.sh #大佬的bbr脚本

点赞