Cloud Linux Uninstallation

Follow the below steps to uninstall CloudLinux safely.

Before proceeding to un-installation of CloudLinux , check if your server has CloudLinux installed.

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

First of all update CentOS RPMs:

yum upgrade -y

Recompile your Apache:

/scripts/easyapache --build

Re-install your Non-CloudLinux Kernel:

yum --disableexcludes=all install kernel

Remove CloudLinux Kernel:

rpm -qa |awk '/^kernel.*lve/ {print $1|"xargs yum -y erase"}'

Reinstall any other CloudLinux-provided RPMs that are also provided by CentOS:

rpm -qa --qf "[%{VENDOR} %{NAME}\n]"|awk '/CloudLinux/ {print $2|"xargs yumreinstall -y"}'

Downgrade any CloudLinux provided RPMs to the CentOS version:

rpm -qa --qf "[%{VENDOR} %{NAME}\n]"|awk '/CloudLinux/ {print $2|"xargs yum downgrade -y"}'

Remove any remaining CloudLinux specific RPMs:

rpm -qa --qf "[%{VENDOR} %{NAME}\n]"|awk '/CloudLinux/ {print $2|"xargs yum erase -y"}'

Upgrade any downgraded CentOS provided RPMs:

yum upgrade -y

Reboot the server :


Now you are ready to use the new non-CloudLinux kernel.