When you host on a cPanel server, you will receive a ready kernel along with the control panel. However, you can replace the hardened cPanel kernel with any standard third-party kernel.

Note: The hardened kernel from cPanel & WHM version 68 is now deprecated. This kernel no longer receives updates. As a result, we strongly advise you to enable symlink protection options after removing the hardened kernel.

We also recommend that you schedule downtime for this process because it necessitates a server reboot.

To replace cPanel’s Hardened Kernel with a Standard Kernel

We begin by removing the hardened kernel provided by cPanel, followed by kernel installation.

  1. Log into your server with SSH
  2. Run this command
    rm /etc/yum.repos.d/cPkernel.repo

    The cPkernel or cPanel kernel will be removed from the server by the system.

  3. Now, run this command too
    yum list --showduplicates kernel

    You will see a list of available kernels that you can install on the system.

  4. Run this command to install a kernel
    yum install KERNELNAME

    Remember to replace KERNEL NAME with the name of the kernel version you want to install.

    We recommend you run:

    1 yum install kernel-2.6.32

    This command will install the most recent kernel version available.

  5. Once the installation is complete, restart your server.

Conclusion

We hope that you now have a good understanding of How you can Replace The Hardened Kernel Of cPanel With A Standard Kernel. If you continue to have problems with the protocol outlined above, please contact the bodHOST Team for constructive assistance 24×7

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

How To Force Your Site Visitors to Use Shared SSL Connection

From time to time, our technical support department is asked how to direct website visitors…

How to Access Web Disk in cPanel?

The web disk account allows you to easily navigate, upload and download files between the…

How to Upload Your Website in 6 Easy Steps

This article will help you understand how to upload your website in just a few…