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:

  1. Stability
  2. Security
  3. Isolation
  4. Ease of deployment
  5. 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.

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.

Register CloudLinux Account

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:

How To Add a Package on DirectAdmin

How to Create a cPanel Account on WHM

Share your love

Stay informed and not overwhelmed, subscribe now!