首页 > 代码库 > CentOS 7 升级内核到4.4.6 LTS

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

CentOS 7 升级内核到4.4.6 LTS