loading...
How to remove CloudLinux and shift back to Almalinux OS?
Print
  • 0

It's not highly recommended to do so, plus Cloudlinux offers dozens of features for your server and for the hosting business. But you can via the command below (they are not fully recommended, just a research. For full uninstallation of CloudLinux you will have to re-install the OS) Best practice is to backup your server in case of failures and execute commands one-by-one:

Remove LVE-Manager packages:

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

Remove CloudLinux kernel:

rpm -qa | grep kernel | grep lve
rpm -e --nodeps kernel-<version>-lve



Set your kernel version in <version>

Reinstall kernel:

yum install kernel

Cleanup of cloudlinux modules and libraries:

yum remove lve kmod*lve*

Restore apache configuration (this is optional if using LiteSpeed instead):

/usr/local/bin/ea_install_profile --install /etc/cpanel/ea4/profiles/cpanel/default.json

Install and enable your NetworkManager:

yum -y install NetworkManager ; yum -y install network-scripts ; yum -y install net-tools


systemctl enable NetworkManager ; systemctl start NetworkManager ; systemctl restart NetworkManager 

 

And reboot the server:

reboot

Was this answer helpful?

Related Articles


WhatsApp