一、Centos 8 升级内核通过elrepo源
地址
查看linux内核版本
[root@localhost ~]# cat /proc/version
Linux version 4.18.0-193.el8.x86_64 ([email protected]) (gcc version 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)) #1 SMP Fri May 8 10:59:10 UTC 2020
[root@localhost ~]# uname -a
Linux localhost.localdomain 4.18.0-193.el8.x86_64 #1 SMP Fri May 8 10:59:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
查看yum中可升级的内核版本
[root@localhost yum.repos.d]# yum list kernel --showduplicates
CentOS Linux 8 - BaseOS 1.2 MB/s | 4.6 MB 00:03
CentOS-8 - Extras 4.9 kB/s | 11 kB 00:02
Last metadata expiration check: 0:00:01 ago on Sat 15 Oct 2022 02:58:01 PM CST.
Installed Packages
kernel.x86_64 4.18.0-193.el8 @anaconda
Available Packages
kernel.x86_64 4.18.0-348.el8 baseos
kernel.x86_64 4.18.0-348.2.1.el8_5 baseos
kernel.x86_64 4.18.0-348.7.1.el8_5 baseos
标签:kernel,x86,Centos,4.18,elrepo,el8,64,内核 From: https://www.cnblogs.com/huaxiayuyi/p/16794239.html