目前最新的内核是 4.20.13
我们希望升级centos 7 的内核,可以安装如下步骤操作

安装步骤
安装 epel
# rpm --import https: # rpm -Uvh http:
|
查看最新的内核
yum --disablerepo="*" --enablerepo="elrepo-kernel" list available
|
安装最新稳定的内核
yum --enablerepo=elrepo-kernel install kernel-ml
|

执行以下命令
0 : CentOS Linux (4.20.13-1.el7.elrepo.x86_64) 7 (Core) 1 : CentOS Linux (3.10.0-957.5.1.el7.x86_64) 7 (Core) 2 : CentOS Linux (3.10.0-957.el7.x86_64) 7 (Core) 3 : CentOS Linux (0-rescue-20190215172108590907433256076310) 7 (Core)
|
重新创建内核配置
重启
Linux aliyun 4.20.13-1.el7.elrepo.x86_64 #1 SMP Wed Feb 27 10:02:05 EST 2019 x86_64 x86_64 x86_64 GNU/Linux
|
文章作者:阿文
版权声明:本博客所有文章除特别声明外,均采用
CC BY-NC-SA 4.0 许可协议。转载请注明来自
阿文的博客!