Install Kernel 4.0 on CentOS 7
Kernel 4.0 has been released last week, bringing about significant changes, driver updates, support for new devices and enhanced File System functions. In addition, it has brought users a long-awaited feature: when you update the kernel, you no longer need to restart the system. Of course, this function is not very important for common users, but it is too important for Linux servers.
Now let's take a look at installing Kernel 4.0 on CentOS 7.
Because you can install it through the ElRepo library, it is easy to install Kernel 4.0 on CentOS 7. Enter the following command.
Switch to the root account and add the Key:
Su root
Rpm -- import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
Add a library for your system:
Yum install http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
Install the kernel-ml package:
Yum -- enablerepo = elrepo-kernel install kernel-ml
Restart:
Reboot
Run the following command to uninstall kernel 4.0:
Yum remove kernel-ml