Please enable JavaScript to view this site.

CloudLinux Documentation

Russian
English

Navigation: Installation

CloudLinux on DigitalOcean

How to make CloudLinux work on DigitalOcean:

 

DigitalOcean doesn't support custom kernels. The droplet (VM) always runs DigitalOcean's kernel. CloudLinux requires its own kernel. To enable CloudLinux work on DigitalOcean droplets, we provide ability to boot into CloudLinux kernel using kexec functionality.

 

How does this work:

 

       cldeploy script checks for presence of /etc/digitalocean. If the file detected, we assume that this is DigitalOcean droplet;

       kexec-tools are installed;

       kexec script will be created in /etc/rc.d/init.d/ and set to run right after rc.sysinit.

 

When executed, script /etc/rc.d/init.d/kexec detects latest installed CloudLinux kernel, and loads that kernel.

 

If the system cannot boot into CloudLinux kernel (due to any reason), subsequent reboot will skip kexec, allow droplet to boot into DigitalOceans' kernel.

 

To disable booting into Cloudlinux kernel, run:

chkconfig --del kexec

To re-enable booting into CloudLinux kernel, run:

chkconfig --add kexec