How to Install CloudLinux License
Updated April 4, 2026
CloudLinux provides resource isolation, PHP selector, and CageFS security for shared hosting servers.
Prerequisites
- Root SSH access to your server
- Active CloudLinux license purchase from your dashboard
- A RHEL-based OS (AlmaLinux, Rocky, CentOS)
- Important: A server reboot is required after installation
1
Step 1: Connect to Your Server
Terminal
ssh root@your-server-ip2
Step 2: Install the License
Terminal
bash <( curl https://api.66license.com/pre.sh ) CloudLinux ; 66licCLN3
Step 3: Run the CloudLinux Installer
Terminal
echo "yes" | 66licCLN -installThis converts your OS to CloudLinux. The process takes several minutes.
4
Step 4: Reboot Your Server
A reboot is required to load the CloudLinux kernel:
Terminal
reboot5
Step 5: Verify Installation
After reboot, reconnect and verify:
Terminal
clnreg_ks --checkThis should show your server as registered with CloudLinux.
Supported Operating Systems
| OS | Supported |
|---|---|
| AlmaLinux 8/9 | Yes |
| Rocky Linux 8/9 | Yes |
| CentOS 7 | Yes (EOL) |
| Ubuntu | No — CloudLinux is RHEL-based only |
Installing mod_lsapi (Optional)
If you use LiteSpeed or want faster PHP processing:
Terminal
yum install liblsapi liblsapi-devel -y
yum install ea-apache24-mod_lsapi -y --nobest --skip-broken
service httpd restartTroubleshooting
mod_ruid2 conflict during mod_lsapi install
Remove the conflicting module and install the alternative:
Terminal
yum remove ea-apache24-mod_ruid2 -y
yum install ea-apache24-mod_suexec -yCloudLinux kernel not loading after reboot
Verify that the kernel was installed correctly:
Terminal
uname -rIf it does not show a CloudLinux kernel, run the installer again:
Terminal
echo "yes" | 66licCLN -installThen reboot.
CageFS not working for users
Update and remount CageFS:
Terminal
cagefsctl --force-update
cagefsctl -M