Getting started with CloudLinux OS

 

CloudLinux OS is simple to install. Here, you will learn how to convert a cPanel-based server from CentOS to CloudLinux OS. For illustration purposes, we will use the most common CentOS 6 with cPanel.

First, you will need a software activation key or an IP-based license. The 30-day trial key can be obtained for free by requesting it from the CLN portal via our website (note that CLN requires registration). If you have a paid license key, it can be found in CLN, or in your welcome email. For more information, refer to our “licensing” article.

To install, open an SSH connection to your server using your preferred SSH console application.

Here is the syntax we are using to execute the conversion process:

$ wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy
$ sh cldeploy -k <activation_key> # if you have activation key
or
$ sh cldeploy -i # if you have IP based license
$ reboot

 

CloudLinux OS install script is smart - it detects the environment, type of virtualization, control panel, specific hardware which might require additional drivers installation and more.

If EasyApache version 3 is in use on the server, the script will execute the EasyApache rebuild process automatically. It’s needed in order to install our apache module (mod_hostinglimits). No additional components are being installed during the easyapache rebuild - it’s just rebuilding the current profile.

If EasyApache version 4 is in use, the script will install all the required RPM packages automatically, including the mod_hostinglimits package for the proper LVE operation.

Once the installation is completed, the server needs to be rebooted. It is required in order to boot the server with our kernel, which is specifically crafted for the LVE support and limits operation.

To make sure that the server is running the correct kernel, we can access the server via SSH again and execute the “uname -a” command.

CloudLinux kernel contains “lve” in its name - when you see it, you’ll know that the server is running using the correct kernel.

Then, you will need to check the WHM interface. As you will see, LVEmanager plugin has been installed during the conversion process. For more details regarding LVEmanager features and usage, please refer to this video.

You are all set - the CentOS server with cPanel has been successfully converted to CloudLinux OS.


  • cPanel

  

Please share your suggestions & tips that could be useful for other readers – we will review all posts and publish selected.

0
 

Comments

  • No comments found