Installing DirectAdmin on a Cloud Server: Step-by-Step Guide

In recent years, DirectAdmin has grown into one of the leading control panels, known for its reliability and cost-effectiveness. At KnownHost, we provide a range of DirectAdmin licenses tailored for unmanaged servers. This guide will walk you through installing DirectAdmin on your server. Prerequisi

Last updated 30 Nov 2026Also in: Dedicated Servers

In recent years, DirectAdmin has grown into one of the leading control panels, known for its reliability and cost-effectiveness. At KnownHost, we provide a range of DirectAdmin licenses tailored for unmanaged servers.

This guide will walk you through installing DirectAdmin on your server.

Prerequisites

  • Get a DirectAdmin licence from a vendor. You may check with the Truehost Support team for help.
  • Root SSH access to you server.
  • Please note that the panel is installed on a Clean Operating System

Supporting Operating Systems

Operating SystemVersion of Operating System
AlmaLinux / RHEL / CentOS7.x 64-bit, 8.x 64-bit
CloudLinux6.x 64-bit, 7.x 64-bit, 8.x 64-bit
Ubuntu16.04 64-bit, 18.04 64-bit, 20.04 64-bit
Debian9.x 64-bit, 10.x 64-bit, 11.x 64-bit
FreeBSD11.x 64-bit, 12.x 64-bit
VzLinux8.x 64-bit

Direct Admin Supported OSes

Installation

  • You will now log in to your server via SSH using the root account then run the following command to install the panel.
  • In the command, you will replace Provided license key should go here with your actual license key.
bash <(curl -fsSL https://download.directadmin.com/setup.sh) 'Provided license key should go here'
  • Note that the above command need be run on root shell. If you have a sudo user and you run it using the word sudo, it will not work. First escalate to root terminal using the command below then run the installation script
sudo su -
  • Once installed you can get your panel login details using any of the command below;
setup.sh

cat /usr/local/directadmin/conf/setup.txt

cat /usr/local/directadmin/scripts/setup.txt

Accessing the Control Panel

  • Once the panel has been installed, you can access it using this link below;
http://server.ip.address:2222
cloud servers in kenyaservers