How can I Convert CentOS to CloudLinux OS?

Converting existing CentOS or cPanel Servers to CloudLinux isn’t hard at all and can be done within a few minutes. Today we will show you how to convert centos to cloudlinux in a few easy steps.

Most cPanel installations are done using CentOS Linux, and switching from CentOS 5.x / 6.x / 7.x to CloudLinux can be done with a few commands from your console.

Convert CentOS to CloudLinux

The switch between CentOS 5.x 6.x or 7.x to CloudLinux is super easy, thanks to the great cloudlinux installation script.

Steps to convert CentOS to CloudLinux:

1.- Get a CloudLinux License.

2.- As root, run this command:

wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy
sh cldeploy -k your.key.here

or if you have an IP based license

sh cldeploy -i

3.- Reboot your server:

shutdown now -r

Convert cPanel to CloudLinux

If you need to convert cPanel to CloudLinux there are no extra steps, the steps to convert centos to cloudlinux and cpanel to cloudlinux are exactly the same.

The CentOS to CloudLinux installation script will detect if you have any control panel installed (cPanel, Plesk, Directadmin, etc) and will convert so you can still work with your control panel normally.

Further steps after rebooting the machine:

Enable CageFS

yum install cagefs
/usr/sbin/cagefsctl --init

Conclusion

That’s all, once your server is back online, it will be running the latest CloudLinux kernel with LVE (Lightweight Virtual Environment) ready and fully activated. LVE is one of the main CloudLinux technologies that will help you to manage CPU limits, IO resource usage, memory usage, numbers of processes per user, among other things.

As you see, for both enviroments (plain CentOS or CentOS + cPanel) the CloudLinux installation is super easy, just type a few commands, then reboot and that’s all, you will be running the most secure OS for web hosting providers.

If you have any issues during the conversion from centos to cloudlinux, please let us know.

About the Author: Martin Keler

Leave a Reply

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