Knowledgebase

How do I install CloudLinux from scratch or convert existing server

Installing CloudLinux from scratch or converting an existing server to CloudLinux involves several steps. Here's a guide to help you through the process:

Installing CloudLinux from Scratch:

  1. Prepare Your Server:

    • Make sure you have a clean installation of CentOS or RHEL on your server.
    • Ensure your server meets the minimum system requirements specified by CloudLinux.
  2. Register for a CloudLinux License:

    • Go to the CloudLinux website and sign up for a license.
  3. Install CloudLinux Repository:

    • SSH into your server.
    • Run the following command to install the CloudLinux repository:
      ruby

 

    • wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy sh cldeploy -i
  • Install CloudLinux Kernel:

    • Install the CloudLinux kernel by running:
       
    • yum install kernel
  • Activate CloudLinux License:

    • Use the cldeploy utility to activate your license:
       
    • sh cldeploy -k YOUR_LICENSE_KEY
  • Reboot Your Server:

    • After the installation, reboot your server using the CloudLinux kernel.
  • Check CloudLinux Installation:

    • Verify that CloudLinux is installed correctly by running:
       

 

    • lsb_release -d

Converting an Existing Server to CloudLinux:

  1. Back-Up Your Data:

    • Before making any major changes, it's crucial to back up all your important data and configurations.
  2. Register for a CloudLinux License:

    • If you haven't already, sign up for a CloudLinux license.
  3. Install CloudLinux Repository:

    • Follow steps 3-5 from the "Installing CloudLinux from Scratch" section above.
  4. Switch to CloudLinux:

    • To convert an existing CentOS or RHEL server to CloudLinux, you'll need to run the following command:
      CSS

 

    • yum install lvemanager lvectl apply --force
  • Reboot Your Server:

    • After applying the changes, reboot your server using the CloudLinux kernel.
  • Verify the Conversion:

    • Confirm that CloudLinux has been successfully installed by running:
       

 

    • lsb_release -d

Keep in mind that this process assumes a basic server setup. Depending on your specific configuration, you may encounter additional steps or considerations. Always consult the official CloudLinux documentation or support resources if you have any doubts or encounter issues during the installation or conversion process.

  • 0 Users Found This Useful
Was this answer helpful?