How to Install CloudLinux on cPanel with a Trial License

What You’ll Need:

  • A cPanel server with root access
  • SSH access to your server
  • CloudLinux trial license (obtained in Step 1)
1

Get a CloudLinux Trial License

  1. Visit the CloudLinux Trial Request Page
  2. Fill in your details and submit the request
  3. You will receive a trial license key via email
The trial license is valid for 30 days and provides full CloudLinux functionality
2

Prepare Your Server

Ensure your system is updated before installation:

yum update -y && reboot
Server will be unavailable during reboot. Schedule this during maintenance window.
3

Install CloudLinux

Run the following command to install CloudLinux:

wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy
bash cldeploy -k YOUR_TRIAL_LICENSE_KEY

Replace YOUR_TRIAL_LICENSE_KEY with your actual license key.

4

Convert the OS to CloudLinux

Reboot the server to complete the conversion:

reboot

Verify CloudLinux installation:

cat /etc/redhat-release

Expected output: CloudLinux release 8.6 (Green Obsidian)

5

Register CloudLinux

Register your CloudLinux installation:

/usr/sbin/rhnreg_ks --activationkey=YOUR_TRIAL_LICENSE_KEY --force
This registration ensures you’ll receive updates and patches during your trial period.
6

Install and enable CageFS for improved security:

yum install cagefs -y
cagefsctl --init
cagefsctl --enable

Benefits of CageFS:

  • Prevents users from seeing each other’s files
  • Protects system files from user access
  • Limits users to only necessary binaries
7

Install PHP Selector (Optional)

Install PHP Selector to allow different PHP versions:

yum groupinstall alt-php -y

PHP Selector allows clients to select different PHP versions for each website from their cPanel interface.

8

Verify in WHM

Login to WHM and navigate to:

Home → Server Configuration → CloudLinux Manager

You should see CloudLinux activated with access to all CloudLinux features.

9

Final Reboot

reboot

Your server is now running CloudLinux with all features enabled!

Congratulations!

You have successfully installed CloudLinux on your cPanel server using a trial license. Your server now benefits from:

  • Improved stability through user resource isolation
  • Enhanced security with CageFS file system virtualization
  • Better resource management with LVE technology
  • Flexible PHP version control for end users

Next Steps: Set up resource limits for your users through the CloudLinux Manager in WHM.

Frequently Asked Questions

Will installing CloudLinux affect my existing websites?

No, installing CloudLinux should not affect your existing websites. The installation process preserves all user data and configurations. However, as with any major system change, it’s always recommended to have a backup before proceeding.

Can I uninstall CloudLinux if I don’t want to purchase after the trial?

Yes, you can revert to your previous operating system, but it requires a clean OS reinstallation. It’s recommended to take a full backup before installing CloudLinux if you think you might want to revert later.

What are LVE limits and how do I set them?

LVE (Lightweight Virtual Environment) limits allow you to control the amount of CPU, memory, and other resources each user can consume. You can set these limits in WHM under “CloudLinux Manager” → “User Resources”.

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *