CentOS7升级5.10内核

1. 下载内核

kernel-ml-5.10.48-1.el7.x86_64.rpm
kernel-ml-devel-5.10.48-1.el7.x86_64.rpm
kernel-ml-headers-5.10.48-1.el7.x86_64.rpm

2. 安装

yum localinstall kernel-*

  

可能出现如下错误提示:

Error: kernel-ml-tools-libs conflicts with kernel-tools-libs-5.4.129-200.el7.x86_64
Error: kernel-ml-headers conflicts with kernel-headers-5.4.129-200.el7.x86_64
Error: kernel-ml-tools conflicts with kernel-tools-5.4.129-200.el7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

 

解决方法:按照提示添加 --skip-broken,即

yum localinstall kernel-ml-* --skip-broken

 

 

参考:

1. Linux升级5.10.x内核

CentOS7升级5.10内核

上一篇:将输出重定向到文件或程序


下一篇:数组的一些操作方法,如join(),split(),slice()等