Knowledgebase

How do I add CloudLinux OS image to DigitalOcean?

CloudLinux OS is not directly available as an image option on DigitalOcean. DigitalOcean primarily offers a selection of popular Linux distributions, including various flavors of Ubuntu, CentOS, Debian, and others.

However, if you want to use CloudLinux OS on a DigitalOcean droplet, you'll need to perform a manual installation of CloudLinux OS. Here's a general outline of the steps you would need to take:

  1. Create a New Droplet:

    Log in to your DigitalOcean account, navigate to the "Droplets" section, and click on the "Create Droplet" button.

  2. Select a Linux Distribution:

    Choose any Linux distribution that DigitalOcean offers (e.g., CentOS, Ubuntu) for the initial droplet creation. This will be replaced with CloudLinux OS in the later steps.

  3. Access the Droplet:

    Once the droplet is created, access it via SSH using an SSH client like PuTTY (Windows) or the terminal (Linux/macOS).

  4. Download CloudLinux OS:

    From the droplet, download the CloudLinux OS installation script using curl or wget:

    bash
curl -s https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy | bash

or

bash

 

  • wget -O cldeploy https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy sh cldeploy
  • Activate CloudLinux OS:

    Run the following command to activate CloudLinux OS:

    bash
  • cldeploy -i
  • Update and Install Packages:

    Update the system and install any additional packages you need:

    bash
  • yum update yum install <package_name>
  • Configure CloudLinux Features:

    Set up any CloudLinux features you want to use, such as CageFS, LVE, etc.

  • Restart the Server:

    Restart the server to apply the changes:

    bash
  • reboot
  • Verify CloudLinux Installation:

    After the reboot, log in and verify that CloudLinux OS is now running on your DigitalOcean droplet:

    bash

 

  1. cat /etc/redhat-release

    You should see an output indicating CloudLinux OS.

Please note that while this process allows you to run CloudLinux OS on a DigitalOcean droplet, it's important to consider that this is a manual installation and may not be as seamlessly integrated as using an officially supported image from DigitalOcean.

Always ensure you have backups and be prepared for any potential issues or complexities that may arise from manually installing a different operating system on a cloud platform. Additionally, check for any updates or changes in DigitalOcean's offerings or CloudLinux's compatibility with DigitalOcean.

 
  • 0 Users Found This Useful
Was this answer helpful?