How to Replace the Hardened Kernel of cPanel with a Standard Kernel?

Steps for Switching the Hardened Kernel of cPanel with a Standard Kernel

In this article, we will guide you on switching the Hardened Kernel of cPanel with a Standard Kernel. While a preconfigured kernel is provided with the control panel, you have the flexibility to replace the hardened cPanel kernel with a third-party kernel of your choice.

It is recommended to enable the symlink protection option when removing the hardened kernel. Please plan for downtime during this process as it requires a server reboot.

Follow the steps:

  1. Log in to SSH and run the following command to remove the cPkernel or cPanel kernel from the server:

rm /etc/yum.repos.d/cPkernel.repo

  1. Enter the following command to view the list of available kernels for installation:

yum list –showduplicates kernel

  1. To install a kernel, execute the following command:

yum install KERNELNAME

Note: Replace the kernel name with the version you wish to install. 

  1. Installing the most recent kernel version using the following command is suggested:

yum install kernel-2.6.32

  1. Start your server again when the installation is complete.

That's it! We hope you find our article helpful. For more information, visit our KB section regularly.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 550