Updating kernel in linux
In this tutorial, I will show you how to upgrade Cent OS 7 kernel to the latest version, and we will be using the kernel from ELRepo repository.Cent OS 7 is using 3.10 as the default kernel version.yum repolist all At step 4, we've already installed a new kernel 4.11.2 to the system.Now we will show you how to make it the default kernel version that will load when the system is starting.uname -msr The output will show your machine's Linux kernel version as well system architecture.Before installing new kernel version, we need to add new repository ELRepo repository. Some popular OSs that use the Linux kernel are Ubuntu, Cent OS, and Debian.
rpm -Uvh check all repositories enabled on the system, and make sure ELRepo is on the list.
uname -msr The result should be that the kernel version 4.11.2 is being used on your system.
This is an optional step that we think you need in order to get more free space.
yum repolist ELRepo repository has been added to the Cent OS 7 server.
In this step, we will install latest kernel version (4.11.2 - the Latest stable version on kernel.org) from the ELRepo repository. yum --enablerepo=elrepo-kernel install kernel-ml --enablerepo is an option to enable specific repository on Cent OS system.