The Linux kernel is the foundation on which all Linux distributions work. It is open source software – anyone can decipher, examine and edit the code.
Updated versions of the kernel improve security, add functionality, and improve operating system speed.
Step 1: Checking Installed Kernel Version
To enable the ELRepo repository on CentOS 7 , do:
Once the repository has been enabled, you can use the following command to list the available kernel.related packages:
Next, install the latest mainline stable kernel:
Step 3: Step Default Kernel Version in GRUB
Open and edit the file /etc/default/grub and set GRUB_DEFAULT=0.
Next, run the following command to recreate the kernel configuration.
Now restart the server