博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
更新centos7的kernel
阅读量:4567 次
发布时间:2019-06-08

本文共 613 字,大约阅读时间需要 2 分钟。

现在安装的centos7 的内核是3.10的,

机器已经联网,可以直接利用包管理工具更新,需要注意的是现在3.0以上的内核引入了签名机制,需要导入签名的key,参考步骤如下:

 

1、导入key

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

当然,如果已经修改了repo的gpgcheck=0也可以不导入key

2、安装elrepo的yum源

rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm

 

3、安装内核

在yum的ELRepo源中,有mainline颁布的,可以这样安装:
 yum --enablerepo=elrepo-kernel install  kernel-ml-devel kernel-ml -y

当然也可以安装long term的:

yum --enablerepo=elrepo-kernel  install  kernel-lt -y

 

查看当前的kernel

# uname -r4.15.6-1.el7.elrepo.x86_64

 

https://www.cnblogs.com/zengkefu/p/5667145.html

转载于:https://www.cnblogs.com/wayneliu007/p/10386588.html

你可能感兴趣的文章
「zigbee - 1」工欲善其事必先利其器 - IAR for 8051 IDE customization
查看>>
jquery prop和attr的区别
查看>>
调用系统文件管理器选择图片,调用系统裁剪AIP对图片处理,显示裁剪之后的图片...
查看>>
Mac & Linux下php7添加memcached和redis扩展
查看>>
Util应用程序框架公共操作类(八):Lambda表达式公共操作类(二)
查看>>
MS SQL 统计信息浅析上篇
查看>>
YourSQLDba版本升级总结
查看>>
Failure sending mail: The user or group name 'xxx\xxxx' is not recognized.Mail will not be resent
查看>>
分析函数改写自关联
查看>>
appium 数据参数化 登录模块
查看>>
php内置函数分析之array_fill_keys()
查看>>
git 从远程仓库获取所有分支
查看>>
从 Godaddy 转移域名到 Namesilo
查看>>
numpy
查看>>
django | 连接mysql数据库
查看>>
导入sql时报日期类型错误
查看>>
更改arch的默认终端
查看>>
labelme2coco问题:TypeError: Object of type 'int64' is not JSON serializable
查看>>
JDBC连接MySQL数据库的方法和实例
查看>>
初学python之感悟
查看>>