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
what you read in this post?

Install CloudLinux on DirectAdmin

To install CloudLinux on DirectAdmin, follow the steps below.

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 server as a root user via SSH.

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.

At this point, you need to restart your server again and secure the Directadmin by CloudLinux.

First, you need to install the required package with the following command:

yum install liblve-devel

Then, switch to your CustomBuild directory:

cd /usr/local/directadmin/custombuild

Next, run the following commands:

./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 learn to install CloudLinux on DirectAdmin.

Hope you enjoy it.

May you will be interested in these articles:

How To Add a Package on DirectAdmin.

How To Create a cPanel account on WHM.

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Stay informed and not overwhelmed, subscribe now!