CentOS7 升级内核

CentOS7(7.4.1708) 3.10升级最新版内核4.14

2017-12-03_10:59:21

https://www.kernel.org/

查看当前内核

启用 elrepo仓库

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 --disablerepo="*" --enablerepo="elrepo-kernel" list available

安装最新版

yum --enablerepo=elrepo-kernel install kernel-ml

  重启选择最新内核

查看当前内核

设置默认内核,启动项

 vi /etc/default/grub

grub2-mkconfig -o /boot/grub2/grub.cfg

 


 

copy from https://www.tecmint.com/install-upgrade-kernel-version-in-centos-7/

How to Install or Upgrade to Kernel 4.14 in CentOS 7

posted @ 2017-12-03 10:22  xiaobaicaidage  阅读(1052)  评论(0编辑  收藏  举报