This article explains to you how to switch from a hardened kernel to a standard kernel in cPanel.
When you host on a cPanel server, the control panel includes a ready kernel. You can, however, use any normal third-party kernel instead of the hardened cPanel kernel.
Let us find out how to replace the Hardened kernel with a standard one:
First, we will remove the kernel of cPanel and then install another one:
- Connect to your server through the command line.
- The cPkernel or cPanel kernel will be removed from the server by the system if you run the following command.
rm /etc/yum.repos.d/cPkernel.repo
3. Enter and run the following command right away:
The system will display a list of available kernels that you can install.
yum list --showduplicates kernel
4. Replace the KERNELNAME with the name of the version you wish to install.
yum install KERNELNAME
5. The following command will install the latest version:
yum install kernel-2.6.32
6. Finally reboot the system.
So that was the conclusion of our session. You can go from a hardened kernel to a standard kernel in cPanel this way. Please contact Webhosting UK customer service team if you have any questions.