Bobcares

Install CloudLinux On DirectAdmin | A 10-Step Method

by | Nov 23, 2022

Install CloudLinux on DirectAdmin with this article. At Bobcares, we can handle your CloudLinux issues with our Server Management Services.

Installing CloudLinux on DirectAdmin

CloudLinux OS defends the servers from attacks. All primary control panels can be used with CloudLinux OS Shared. It can also be used with the majority of apps used with CentOS and RHEL. For e.g., Plesk, cPanel, and DirectAdmin.

Here, we will see the process.

1. To make the process much easier, be sure to enter the pre-requirements given below into the command terminal.

yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronies bzip2 cyrus-sasl-devel perl-ExtUtils-Embed autoconf automaker libtool which patch mail bzip2-devel lost psmisc net-tools systemd-devel libdb-devel perl-DBI xfsprogs -y

2. We can do the process using the below code:

wget http://www.directadmin.com/setup.sh;chmod 755 setup.sh;./setup.sh

3. Then we must enable the ports in the firewall.

firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --zone=public --add-port=2222/tcp --permanent
firewall-cmd --reload

4. Now download and set up CloudLinux.

wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy

5. Then enable the license.

sh cldeploy -i

6. Now restart the system.

reboot

7. Set up CageFS at this time. Regardless of the resource demand, CageFS provides full separation. Thus keeping it secure and with few service interruptions.

yum install cagefs -y
/usr/sbin/cagefsctl --init

8. Then set up the Alt-PHP.

yum groupinstall alt-php -y

9. MariaDB is already present by default. Now we must enter the below code to set up the MySQL Governor or check the MariaDB version.

mysql -V
yum install governor-mysql -y
/usr/share/lve/dbgovernor/db-select-mysql --mysql-version=mariadb55
/usr/share/lve/dbgovernor/mysqlgovernor.py --install

10. If MariaDB is upgraded using CustomBuild 2.0 we need to change 55 to one of the following.

100 for MariaDB v10.0
101 for MariaDB v10.1

[Looking for a solution to another query? We are just a click away.]

Conclusion

DirectAdmin is now offering CloudLinux. The article provides a 10-step procedure from our Tech team for installing CloudLinux on DirectAdmin.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

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

Never again lose customers to poor
server speed! Let us help you.