How can I Uninstall CloudLinux from my server?

CloudLinux is a really popular tool to secure and hardening your Linux Shared Hosting Servers. It’s 100% compatible with cPanel also, which makes this product a must if you are going to start your cPanel based web hosting company. However, not everyone loves it as much as we do, that’s why today we are going to see how you can uninstall CloudLinux  if you are not fully satisfied with it.

Learn How to Uninstall CloudLinux
Learn How to Uninstall CloudLinux

Uninstall CloudLinux in One Single Step

Uninstalling Cloudlinux is easy, and can be done with a single script. This script, will convert the Operating System back go CentOS.

A few important things to consider before you uninstall cloudlinux from your server:

1.- If your original OS was RHEL, it will convert your RHEL into CentOS.
2.- LVE packages will be fully removed.
3.- All the CloudLinux repos & plugins will be removed.
4.- Instead, CentOS base repositories will be setup.
5.- A manual step is required to remove the CloudLinux Kernel and the last thing, you will have to install a normal CentOS kernel.
6.- A few CloudLinux repo packages will be left in your system, DO NOT remove any of those to avoid system interruptions. Those packages will be updated in future CentOS updates as new versiones come out to the light.

How can I uninstall CloudLinux OS?

Easy, just run this two commands:

wget -O cldeploy http://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy
sh cldeploy -c

Conclusion

As you see, if you need to uninstall CloudLinux, it can be done easily, however be aware of the 6 key points we stated before. Please let us know if you have ran into any issues while uninstalling cloudlinux from your servers.

Remember: if you purchased CloudLinux from cPanel official Store, you can ask them official CloudLinux support if you have any troubles. If you purchased CloudLinux from cloudlinux.com, open a support ticket to them, they will answer soon.

Further reading:

CloudLinux Docs: Removing CloudLinux

About the Author: Santiago Borges

Experienced Sr. Linux SysAdmin and Web Technologist, passionate about building tools, automating processes, fixing server issues, troubleshooting, securing and optimizing high traffic websites.

Leave a Reply

Your email address will not be published. Required fields are marked *