How to Install DirectAdmin on a Linux Server (AlmaLinux / Rocky Linux / RHEL / Debian / Ubuntu)

DirectAdmin is a lightweight, fast, and commercial web hosting control panel used as an alternative to cPanel. It's suitable for both shared hosting and private server management.

Evans

Last Update 2 bulan yang lalu

 Supported Operating Systems (as of 2025)

DirectAdmin officially supports:

Recommended:
  • AlmaLinux 8 / 9

  • Rocky Linux 8 / 9

  • RHEL 8 / 9

  • Debian 11 / 12

  • Ubuntu 20.04 / 22.04 LTS

❗️CentOS 8 is no longer supported — use AlmaLinux or Rocky Linux instead.

 Requirements

ResourceMinimum
CPU1 core (2+ recommended)
RAM1 GB (2 GB+ recommended)
Disk20 GB (more for hosting)
IP Address1 static public IP
Root AccessYes (SSH)
Ensure your hostname is a fully qualified domain name (FQDN):
Step-by-Step Installation Guide
Step 1: Get Your DirectAdmin License
  1. Purchase or activate a license at
    🔗 https://www.directadmin.com/

  2. Note your Client ID, License ID, and the server's public IP.

Step 2: Prepare Your Server

Update the system and install dependencies:

Step 3: Download and Run the DirectAdmin Installer

Run the following as root:

You’ll be prompted to enter:


  • Client ID

  • License ID

  • Hostname

  • Desired services (Apache/Nginx, MariaDB/MySQL, etc.)

DirectAdmin will handle the full stack install: web server, PHP, MySQL/MariaDB, FTP, and more.

Step 4: Wait for Installation

The installer may take 15–30 minutes. After installation, it will display:

You can access the DirectAdmin panel using:

Open Firewall Ports (if needed)

For firewalld users (RHEL/Alma/Rocky):


Post-Installation Tips
  • Change the admin password:

  • Secure the panel with a valid SSL certificate (Let's Encrypt available inside the panel).


  • Configure packages and user plans via the Admin GUI.

  • Add your domains and DNS records.

In summary

StepCommand
Prepare Serverdnf/apt update, install wget curl
Run Installerbash <(curl -Ss https://www.directadmin.com/setup.sh)
Access Panelhttps://your-ip:2222
Open Portfirewall-cmd --add-port=2222/tcp --permanent

Was this article helpful?

1 out of 1 liked this article

Still need help? Message Us