Replace CentOS8 with the latest kernel Linux Kernel in a few simple steps (abandon the old kernel that comes with it)

888u

Last update at :2024-05-20,Edit by888u

Since the functions required by the server require the installation of certain software, but the built-in default kernel of CentOS8 does not support it, here we can solve this problem by replacing the kernel Linux Kernel. In fact, if any of our netizens have installed BBR in the server before, they should actually know that the kernel was also replaced at the beginning, and the kernel needs to be replaced here as well.

sudo dnf -y install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
sudo dnf --enablerepo=elrepo-kernel install kernel-ml 

Log in to the CentOS8 SSH remote and then execute.

1. Check the kernel list

grubby --info=ALL | grep ^kernel

2. Check the current kernel

grubby --default-kernel

3. Set up a new kernel

 grubby --set-default "/boot/vmlinuz-5.14.13-1.el8.elrepo.x86_64"

4. Check the kernel again

grubby --default-kernel

After the final restart, let’s see if the kernel has changed.

Recommended site searches: wordpress host, mainland China proxy IP, IP reverse domain name query, virtual host proxy, Hong Kong IP, US server URL, registered domain name query, US host rental, overseas virtual host space, Chinese domain name registration query, < /p>

Replace CentOS8 with the latest kernel Linux Kernel in a few simple steps (abandon the old kernel that comes with it)

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码