This guide illustrates how to change the cPanel Hardened Kernel with a standard Kernel. A ready kernel is provided together with the control panel when you host on a cPanel server. The hardened kernel that comes with cPanel can be swapped out for any typical third-party kernel, though.
Important note- The hardened kernel from cPanel & WHM version 68 is now obsolete. They don’t longer update this kernel. For this reason, after removing the hardened kernel, we strongly advise that you enable the symlink protection options. We also advise you to schedule downtime for this procedure because a server reboot is required.
The steps are as follows-
- Make use of SSH to access your server.
- Execute this command: Using the below command the server’s cPkernel or cPanel kernel will be deleted by the system.
- Then run this command right away after entering it.
yum list –showduplicates kernel
All the available kernels will then appear that you can install on the system.
- Go on and then execute the following command to install a kernel: Substitute KERNELNAME with the name of the version of the kernel you would like to deploy.
yum install KERNELNAME
The most recent kernel version currently available will be installed using this command.
- Finally, once the installation is finished, restart your server.
In this way, you can change the cPanel Hardened Kernel with a standard Kernel. Hope you found this article to be useful. If you have a question, you can just post it in our WHUK forum discussion and you will receive many responses.