#升级centos7 的内核为 4.4
rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install -y kernel-lt
#设置开机从新的内核启动
grub2-set-default 'CentOS Linux (4.4.209-1.el7.elrepo.x86_64) 7 (Core)'
#升级centos7 的内核为 4.4
rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install -y kernel-lt
#设置开机从新的内核启动
grub2-set-default 'CentOS Linux (4.4.209-1.el7.elrepo.x86_64) 7 (Core)'