Uninstall Cloudlinux from cpanelUninstall Cloudlinux from cpanel

Uninstall Cloudlinux from cpanel

[code]wget -O cldeploy http://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy[/code]

[code]sh cldeploy -c[/code]

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.

[code]/usr/local/cpanel/bin/cloudlinux_system_install -c[/code]

Update your CentOS-provided RPMs

[code]yum upgrade -y[/code]

Rebuild Apache

[code]/usr/local/cpanel/scripts/easyapache –build[/code]


[code]/scripts/easyapache –build[/code]

Reinstall a non-CloudLinux kernel.

[code]yum –disableexcludes=all install kernel[/code]

Remove CloudLinux Kernel

[code]rpm -qa |awk ‘/^kernel.*lve/ {print $1|”xargs yum -y erase”}’[/code]

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

[code]rpm -qa –qf “[%{VENDOR} %{NAME}n]“|awk ‘/CloudLinux/ {print $2|”xargs yum reinstall -y”}’[/code]

Downgrade any CloudLinux provided RPMs to the CentOS version

[code]rpm -qa –qf “[%{VENDOR} %{NAME}n]“|awk ‘/CloudLinux/ {print $2|”xargs yum downgrade -y”}’[/code]

Remove any remaining CloudLinux specific RPMs

[code]rpm -qa –qf “[%{VENDOR} %{NAME}n]“|awk ‘/CloudLinux/ {print $2|”xargs yum erase -y”}’[/code]

Upgrade any downgraded CentOS provided RPMs

[code]yum upgrade -y[/code]

Reboot the server to use the new non-CloudLinux kernel