Centos 处理步骤 先设置DNS为114.114.114.114等
CentOS 8 升级内核到 6.9 步骤
1 查看内核现状版本 4.18
[root@localhost yum.repos.d]# hostnamectl
Static hostname: localhost.localdomain
Icon name: computer-vm
Chassis: vm
Machine ID: 1c063b9ed186473e891a2fe6ac0a072c
Boot ID: 21aa9671ff624f0ba46bdd6f0cde3958
Virtualization: vmware
Operating System: CentOS Linux 8 (Core)
CPE OS Name: cpe:/o:centos:centos:8
Kernel: Linux 4.18.0-80.el8.x86_64
Architecture: x86-64
2 使用 elrepo 源
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
yum install -y https://www.elrepo.org/elrepo-release-8.0-2.el8.elrepo.noarch.rpm
3 列出可用的内核版本:
yum --enablerepo=elrepo-kernel list available kernel-lt kernel-ml
4 安装新的内核版本
yum --enablerepo=elrepo-kernel install kernel-ml-6.9.3-1.el8
yum --enablerepo=elrepo-kernel install kernel-ml-6.9.3-1.el8.elrepo.x86_64