How to install CloudLinux on an Unmanaged VPS or Dedicated Server

Overview

CloudLinux helps improve server stability and security by isolating user accounts and managing resource usage.

NOTE: CloudLinux is available as an add-on service for eligible unmanaged VPS and Dedicated Server plans. Installation, configuration, and ongoing management are the customer’s responsibility.

Install CloudLinux

  1. Connect to your server using SSH as the root user.
  2. Download the CloudLinux installation script:
wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy
  1. Run the following installation script to convert into the CloudLinux OS edition:
sh cldeploy -i

For the CloudLinux OS Admin edition use the following command:

sh cldeploy -i --to-admin-edition
  1. Reboot the server after installation completes:
reboot

Verify the installation

After the server restarts, confirm that CloudLinux is installed:

cat /etc/redhat-release

You should see CloudLinux listed as the operating system.

Managing CloudLinux via Command Line

If you do not have a control panel (like cPanel/WHM) installed, you can manage key CloudLinux features directly from the command line:

LVE Manager

You can use the lveinfo command to monitor resource usage. For example, run lveinfo to view real-time statistics for user accounts.

PHP Selector

You can use the cloudlinux-selector command to manage PHP versions and modules. Use cloudlinux-selector –help to view available options for selecting PHP versions and extensions.

Additional information

For advanced configuration and feature documentation, refer to the CloudLinux documentation:

NOTE: HostPapa provides the CloudLinux license. Installation, configuration, troubleshooting, and maintenance are managed by the customer on unmanaged servers.

If you need help with your HostPapa account, please open a support ticket from your Dashboard.

Related Articles

Get online with our affordable web hosting

Get online with our affordable web hosting

Learn more now
HostPapa Mustache