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:
-
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
-
Enter the following command to view the list of available kernels for installation:
yum list –showduplicates kernel
-
To install a kernel, execute the following command:
yum install KERNELNAME
Note: Replace the kernel name with the version you wish to install.
-
Installing the most recent kernel version using the following command is suggested:
yum install kernel-2.6.32
-
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.