centos7.9升级内核到5.*

1
2
3
4
5
6
7
8
9
10
11
uname -sr
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
yum --disablerepo="*" --enablerepo="elrepo-kernel" list available
yum --enablerepo=elrepo-kernel install kernel-ml
reboot
uname -sr
vi /etc/default/grub
修改GRUB_DEFAULT=0
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
原文链接:https://xiaohost.com/3715.html,转载请注明出处。
0

评论0

请先