To Replace the Hardened Kernel of cPanel with a Standard Kernel
We start by removing the cPanel-provided hardened kernel followed by the kernel installation.
1. Log in to your server with SSH.
2. Run this command:
rm /etc/yum.repos.d/cPkernel.repo
The system will remove the cPkernel or cPanel kernel from the server.
3. Enter and run this command immediately:
yum list --showduplicates kernel
A list of available kernels will appear that you can install on the system.
4. To install a kernel, please run the command:
yum install KERNELNAME
Do not forget to replace the KERNELNAME with the kernel version you want to install.
We recommend you run:
yum install kernel-2.6.32
This command will install the latest kernel version currently available.
5. Reboot your server once the installation is complete.