Snippets: CentOS: Install New Linux Kernel

 20th August 2020 at 2:19pm

CentOS 7 默认的 Kernel 是 3.10 版本,不支持 TCP BBR。升级到高版本支持它:

yum -y update
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install kernel-ml

grub2-set-default 0
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot

参考 这里