In this article we will show you how to uninstall CloudLinux and convert back to Centos cPanel server. First we should know that CloudLinux supports all the hardware supported by RHEL/CentOS. There are some exceptions, which are the hardware that require binary drivers and do not contain any open source alternatives.
Steps To Uninstall CloudLinux And Convert Back To Centos
- Uninstallation CloudLinux
wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy
sh cldeploy -c
- Verify If CloudLinux Installed
/usr/local/cpanel/bin/cloudlinux_system_install -c
Note
Some packages from CloudLinux repo will still exist after restoring back to centos. This packages are the same of centOS packages and you dont need to remove them. now you have to do some centos Updates.
- Update your CentOS-provided RPMs
yum upgrade -y
- Rebuild Apache server
/usr/local/cpanel/scripts/easyapache –build
- Reinstall non CloudLinux kernel
yum –disableexcludes=all install kernel
- Remove CloudLinux Kernell
rpm -qa |awk ‘/^kernel.*lve/ {print $1|”xargs yum -y erase”}’
- Reinstall any CloudLinux provided RPMs that also provided by CentOS
rpm -qa –qf “[%{VENDOR} %{NAME}n]“|awk ‘/CloudLinux/ {print $2|”xargs yum reinstall -y”}’
- Downgrade any RPMs provided by CloudLinux to the CentOS version
rpm -qa –qf “[%{VENDOR} %{NAME}n]“|awk ‘/CloudLinux/ {print $2|”xargs yum downgrade -y”}’
- Remove any remaining CloudLinux RPMs
rpm -qa –qf “[%{VENDOR} %{NAME}n]“|awk ‘/CloudLinux/ {print $2|”xargs yum erase -y”}’
- Upgrade all downgraded CentOS provided RPMs
yum upgrade -y
- Reboot the server for Uninstall Cloudlinux to use the new non-CloudLinux kernel.
reboot
If you need more Linux commands For Administrators click here