Share your love
How To Install CloudLinux on DirectAdmin

In this article, we want to teach you How To Install CloudLinux on DirectAdmin. CloudLinux is an operating system specially designed for shared hosting providers.
It has functions that improve data security, stability, and density by separating all the users using shared hosting resources into the lightweight virtualized environment (LVE). There are several benefits of CloudLinux, which include the following:
- Stability
- Security
- Isolation
- Ease of deployment
- Compatibility
And there are several features of CloudLinux, which include the following:
- CageFS
- SecureLinks
- LVE Manager
- MySQL Governor
- HardenedPHP
- PHP Selector
- Ruby Selector
- Python Selector
- OptimumCache
- Mod_lsapi
You can now proceed to the guide steps below on the Orcacore website to complete CloudLinux setup on DirectAdmin.
Table of Contents
Install CloudLinux on DirectAdmin
To install CloudLinux on DirectAdmin, you must register for a CloudLinux account and download the repository.
1. Register CloudLinux Account
First, you need to visit the CloudLinux official page, register for an account, and get your free trial license key or purchase a license key.

Then, you need to log in to your DirectAdmin server as a root user via SSH.
2. Download CloudLinux Repository on DirectAdmin
Now use the wget command to download the CloudLinux repository:
wget http://repo.cloudlinux.com/cloudlinux/sources/cln/centos2cl
Next, run the following command with your CloudLinux license activation key to install it on your DirectAdmin:
sh centos2cl -k <activation_key>
This will take some time to complete.
When you are done, reboot your server to apply the changes.
reboot
At this point, you need to restart your server and secure the DirectAdmin by CloudLinux.
3. Secure DirectAdmin by CloudLinux
First, you need to install the required package with the following command:
yum install liblve-devel -y
Then, switch to your CustomBuild directory:
cd /usr/local/directadmin/custombuild
Next, run the following commands to build and install the packages:
./build update
./build set cloudlinux yes
./build apache
./build suphp
Conclusion
As you see, CloudLinux provides a really robust solution for shared hosting environments or dedicated servers with a lot of accounts inside. It includes a very large number of solutions for both OS and app performance/security.
At this point, you have learned to install CloudLinux on DirectAdmin.
Hope you enjoy it. Please subscribe to us on Facebook and YouTube.
You may be interested in these articles: