Completely Uninstall cloudlinux from cpanel server

Uninstall-cloudlinux-from-cpanel-server

Completely Uninstall cloudlinux from cpanel server

How to completely remove cloudlinux from cpanel server.

You can always uninstall CloudLinux. In this case, we will ‘convert’ the system back to CentOS. Even if the original system was RHEL — we will still convert to ‘CentOS’ state.

Following this will be done:
1.LVE related packages will be removed
2.CloudLinux repositories & yum plugin will be removed
3.CentOS repositories will be setup

At the end, script will provide instructions on how to finish the conversion back to CentOS. That will require removal of CloudLinux kernel (manual step), and installation of CentOS kernel (if needed).

To uninstall CloudLinux, do:
$ wget -O cldeploy http://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy
$ sh cldeploy -c

Please, note that some of the packages from CloudLinux repo will still be present. They are same as CentOS packages, and don’t have to be removed. They will be updated in the future from CentOS repositories, as new versions come out.
You can use below steps further:

Check if your server is Cloudlinux installed in it using below command.

/usr/local/cpanel/bin/cloudlinux_system_install -c

Update your CentOS-provided RPMs

yum upgrade -y

Reboot the server to use the new non-CloudLinux kernel

reboot

Note: We recommend having Level-3 System

Share this post


24x7servermanagement