---
title: "How to install DirectAdmin on Linux"
description: "Say farewell to server headaches with DirectAdmin on Linux! Embrace seamless web hosting management in this tutorial, welcoming smooth sailing ahead!"
canonical: "https://adamtheautomator.com/directadmin/"
---

# How to install DirectAdmin on Linux

> Say farewell to server headaches with DirectAdmin on Linux! Embrace seamless web hosting management in this tutorial, welcoming smooth sailing ahead!

Source: https://adamtheautomator.com/directadmin/

---

ATA Learning

Tap to hide

[

ATA Learning

](/)

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Search for:  

*   [](https://twitter.com/adbertram)
*   [](https://github.com/Adam-the-Automator)
*   [](https://www.linkedin.com/company/adam-the-automator-llc)
*   [](/feed/)

![How to install DirectAdmin on Linux](https://adamtheautomator.com/wp-content/uploads/2024/02/directadmin.jpg)

# How to install DirectAdmin on Linux

[![](https://secure.gravatar.com/avatar/2788bb1a3f735603f81eca51d68daec56a9d97e805a10268fb2c20afcc76b81b?s=192&d=mm&r=g)Nicholas Xuan Nguyen](https://adamtheautomator.com/author/nicholas-xuan-nguyen/)19 February 20245 min. read

Categories: [IT Ops](/category/it-ops/)

Tags:[Linux](/tag/linux/)

Table of Contents

*   [Prerequisites](#prerequisites)
*   [Downloading and Installing DirectAdmin](#downloading-and-installing-directadmin)
*   [Accessing the DA Control Panel](#accessing-the-da-control-panel)
*   [Streamlining WordPress Installation on DA](#streamlining-wordpress-installation-on-da)
*   [Conclusion](#conclusion)

In the fast-paced realm of the web, the proliferation of websites has led to a surge in the need for robust web hosting solutions. DirectAdmin (DA) stands out as a user-friendly and efficient web hosting control panel designed to simplify the management of both websites and servers.

This tutorial walks you through installing DA on a Linux server, ensuring you have control over your web hosting environment at your fingertips.

Read on and dive into effortless website management!

## Prerequisites

Before diving into this robust web hosting solution, ensure the following are in place to follow along in this tutorial:

*   A Linux server running Ubuntu 18.04 or later – This tutorial uses Ubuntu 20.04 for demonstrations.

Related:[Install Ubuntu Server 20.04: A Step-by-Step Walkthrough](https://adamtheautomator.com/install-ubuntu/)

*   Root access to your server or sudo privileges for a standard user.

Related:[How to Create Users on Ubuntu Linux in Multiple Ways](https://adamtheautomator.com/create-user-on-ubuntu/)

*   An [active license](https://www.directadmin.com/pricing.php) for DA.
*   A fully qualified domain name (FQDN) pointing to your server’s public IP address.

## Downloading and Installing DirectAdmin

Now that you have met the prerequisites, your next goal in achieving smooth server management is to install DA on your system. The best way to install this control panel on your Linux server is via its official installation script, tailored to automate the installation process.

The installation script is intelligent enough to recognize different Linux distributions. As a result, the script installs the necessary packages and dependencies to ensure a seamless and compatible setup.

1\. [SSH into your Linux server](https://www.redhat.com/sysadmin/access-remote-systems-ssh), logging in as the root user or user with `sudo` privileges.

Related:[Mastering SSH Commands in Linux for Windows Admins](https://adamtheautomator.com/ssh-command-in-linux/)

2\. Once logged in, run the following command, which provides no output but navigates (`cd`) to the root directory (`~`).

```bash
cd ~
```

3\. Next, execute the following command to fetch (`curl`) and execute (`bash`) the installation script (`setup.sh`).

Make sure to replace `your_license` with your actual DA license key.

```bash
bash <(curl -fsSL https://download.directadmin.com/setup.sh) 'your_license'
```

Related:[CURL Linux Command : Learning By Example](https://adamtheautomator.com/curl-linux/)

Downloading and installing all necessary packages and dependencies may last a few minutes.

![Downloading and installing DA](https://adamtheautomator.com/wp-content/uploads/2024/02/image-187.png)

Downloading and installing DA

4\. Note the admin username, password, and server hostname from the output, as you will need them later to access DA.

> _💡 Your login credentials and other configuration details are automatically generated and stored in a file named `/usr/local/directadmin/conf/setup.txt` on your server. You can check this file’s content via the following `cat` command._
> 
> _`cat /usr/local/directadmin/conf/setup.txt`_

![Saving the admin credentials for accessing DA](https://adamtheautomator.com/wp-content/uploads/2024/02/image-186.png)

Saving the admin credentials for accessing DA

## Accessing the DA Control Panel

With your DA installation now complete, the doorway to efficient server management is wide open. Explore DA’s user-friendly web interface, commonly known as the Control Panel—your hub for server command.

This Control Panel is where you can effortlessly navigate settings, configure domains, and unlock the full potential of your hosting environment.

To access the DA Control Panel, ensure you have the admin credentials handy and follow these steps:

1\. Open a modern web browser of your choice. [Google Chrome](https://adamtheautomator.com/install-google-chrome-for-ubuntu/), Firefox, or Safari are recommended for the best experience.

Related:[How to Install Google Chrome for Ubuntu](https://adamtheautomator.com/install-google-chrome-for-ubuntu/)

2\. Next, navigate to the hostname you have noted during the installation, which redirects your browser to the DA login page (step three).

For a secure connection, ensure you prefix your hostname with _https://_ (i.e., _https://hostname_).

3\. Sign in to DA with the admin username and the password you noted in the last step of the “Downloading and Installing DirectAdmin.”

If successful, your browser redirects to the DA Control Panel, shown in step four.

![Signing in to the DA Control Panel](https://adamtheautomator.com/wp-content/uploads/2024/02/image-190.png)

Signing in to the DA Control Panel

Below is the DA Control Panel, where you can manage websites, create databases, set up FTP and email accounts, and much more.

![Accessing the DirectAdmin Web Interface](https://adamtheautomator.com/wp-content/uploads/2024/02/image-189.png)

Accessing the DirectAdmin Web Interface

4\. Now, click the bell icon (left pane) to view updates and important notifications about your server’s status.

Initially, you may notice that the **CustomBuild** process still runs, as indicated in the log viewer. Do not reboot your server or make changes, such as adding users or domains, during this time. CustomBuild is finalizing the setup of your server’s environment, which can take some time.

![Viewing the server status, confirming the CustomBuild is running](https://adamtheautomator.com/wp-content/uploads/2024/02/image-188.png)

Viewing the server status, confirming the CustomBuild is running

## Streamlining WordPress Installation on DA

With secure access to the DA Control Panel, you are only a few steps away from launching your first WordPress site. Gone are the days of complex setups and manual configurations—the DA Control Panel simplifies this process, allowing for a quick and efficient setup.

To set up a live WordPress site via DA, carry out the following:

1\. Expand **Account Manager** (left pane) on the DA Control Panel, and choose **Domain Setup** to configure domains within DA.

![Initiating configuring domains within the DA](https://adamtheautomator.com/wp-content/uploads/2024/02/image-200.png)

Initiating configuring domains within the DA

2\. Fill in the required fields in the **Create Domain** page, and click **CREATE,** as shown below, to create your new domain. This domain is essential for establishing a distinct online identity for your website.

This action creates a document root at _domain/your\_domain/public\_html_, the directory on your server designated for your website’s files. Also, this document root is the future home of your WordPress installation.

![Creating a new domain](https://adamtheautomator.com/wp-content/uploads/2024/02/image-201.png)

Creating a new domain

3\. Next, visit your FQDN on your browser, and you will encounter the default page with the following message. This message confirms your domain correctly points to your server.

![Verifying the server’s default page](https://adamtheautomator.com/wp-content/uploads/2024/02/image-199.png)

Verifying the server’s default page

If your browser displays a security warning stating “Your connection is not secure,” as below, click Advanced → Proceed to… to bypass this warning.

There is typically no need for immediate concern when you see this warning. This warning often occurs because the website’s SSL certificate is either self-signed or not recognized by your browser.

![Bypassing the not secure connection warning](https://adamtheautomator.com/wp-content/uploads/2024/02/image-198.png)

Bypassing the not secure connection warning

4\. Expand **Advanced Features** and choose **WordPress Manager** to access specialized tools and functionalities for managing WordPress installations.

DirectAdmin enhances this experience with a seamless one-click WordPress installation feature, streamlining the process further.

![Accessing the WordPress Manager](https://adamtheautomator.com/wp-content/uploads/2024/02/image-197.png)

Accessing the WordPress Manager

5\. Under **Locations without WordPress**, click the cube icon under **Actions** adjacent to the domain you added in step two. This action prompts the system to create necessary directories and configurations tailored for hosting a WordPress installation.

![Preparing the WordPress installation](https://adamtheautomator.com/wp-content/uploads/2024/02/image-196.png)

Preparing the WordPress installation

6\. On the following screen, input the necessary details, select the **Create new** option, and then click **CREATE** to set up a new database for your WordPress.

![Creating a new database for the WordPress site](https://adamtheautomator.com/wp-content/uploads/2024/02/image-195.png)

Creating a new database for the WordPress site

7\. Copy the database credentials on the popup window that appears, and click **CLOSE** to dismiss the popup and return to the installation page.

![Copying the database credentials](https://adamtheautomator.com/wp-content/uploads/2024/02/image-194.png)

Copying the database credentials

8\. Now, select **Use existing**, set the database credentials you noted in step six, and click **INSTALL** (lower-right) to start the installation.

![Setting database credentials and installing WordPress](https://adamtheautomator.com/wp-content/uploads/2024/02/image-193.png)

Setting database credentials and installing WordPress

9\. When prompted, click **CONFIRM** to continue with the WordPress installation.

![Confirming the WordPress installation](https://adamtheautomator.com/wp-content/uploads/2024/02/image-192.png)

Confirming the WordPress installation

10\. Finally, revisit your FQDN; you will see a WordPress page instead of the server default.

This outcome signifies a successful setup, indicating your site is ready for customization.

![Verifying the WordPress site](https://adamtheautomator.com/wp-content/uploads/2024/02/image-191.png)

Verifying the WordPress site

## Conclusion

You’ve successfully set up and accessed the DirectAdmin Control Panel, mastering the essentials of server management. Through streamlining WordPress installation on DA, you have empowered your web development journey.

DA’s seamless installation process, web interface, and WordPress integration make DA an excellent choice for administrators seeking an efficient and reliable hosting solution.

After mastering the basics, would you explore more advanced features? These features include [server migration](https://docs.directadmin.com/directadmin/backup-restore-migration/migrations.html), [email management](https://docs.directadmin.com/other-hosting-services/email/customizing-defaults.html), and [database optimization](https://docs.directadmin.com/other-hosting-services/mariadb-mysql/general.html#how-to-optimize-mysql). Or perhaps integrate [additional third-party plugins](https://forum.directadmin.com/threads/daflare-standard-automatically-synchronise-your-dns-from-directadmin-to-cloudflare.63316/) to optimize your web hosting environment further?

Keep exploring and learning, and watch your online projects thrive!

Share this article

[Share on X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fadamtheautomator.com%2Fdirectadmin%2F&text=How%20to%20install%20DirectAdmin%20on%20Linux)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fadamtheautomator.com%2Fdirectadmin%2F)[Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fadamtheautomator.com%2Fdirectadmin%2F)

## Related Posts

![](https://adamtheautomator.com/wp-content/uploads/2022/09/Practical-Linux-Unix-Tee-Commands-for-the-Linux-Admin.jpg)

### [Master Unix tee Commands for Real-World Linux Admin Tasks](/unix-tee/)

Simplify Linux output management and streamline your workflow with the “Unix tee” command. This tutorial guides you through its practical applications.

![](https://adamtheautomator.com/wp-content/uploads/2024/03/openldap-4.jpg)

### [How to Install and Configure an OpenLDAP Ubuntu Server](/openldap/)

Unlock the power of OpenLDAP on Ubuntu for centralized user authentication, seamless access control management, and enhanced directory services!

![](https://adamtheautomator.com/wp-content/uploads/2024/03/pipe-command-in-linux-1.jpg)

### [Unleashing the Power of the Pipe Command in Linux](/pipe-command-in-linux/)

Unlock the prowess of the pipe command in Linux to streamline tasks, boost productivity, and simplify complex operations effortlessly!

## Categories

*   [IT Ops](/category/it-ops/)
*   [Cloud](/category/cloud/)
*   [DevOps](/category/devops/)
*   [Home Ops](/category/home-ops/)
*   [Information Security](/category/infosec/)
*   [Software Development](/category/software-development/)

## Site

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Copyright 2026© ATA Learning | [Privacy Policy](/privacy/)
