CentOS 7 升级内核到4.4.6 LTS

CentOS 7 升级内核到4.4.6 LTS
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install kernel-lt-devel kernel-lt -y
awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg
grub2-set-default xxxx
reboot
uname -r

转载于:https://www.cnblogs.com/anjunact/p/6751505.html

你可能感兴趣的:(CentOS 7 升级内核到4.4.6 LTS)