Learn how to install DirectAdmin Web Control Panel on Linux with clear steps, commands, and license setup for VPS and dedicated servers. Our DirectAdmin Support Team is always here to help you.

Installing DirectAdmin Web Control Panel on Linux Made Simple

DirectAdmin is one of the most popular alternatives to cPanel. It’s lightweight, fast, and works well on Linux systems like CentOS, Debian, and RHEL. With the ability to manage reseller accounts, domains, and users from one interface, it’s a solid choice for VPS and dedicated server owners. In this guide, we’ll go through how to install DirectAdmin Web Control Panel with all the required commands, so you can set it up without confusion.

install DirectAdmin Web Control Panel

Activate the License

Before anything else, a valid license is required. DirectAdmin provides a 60-day trial license so you can test the panel. Once you’re satisfied, you can move to a paid license.

Connect to the Server and Update Packages

Now, connect to your server using SSH. Use the root user or a sudo-enabled account.

# ssh root@IP_address -p Port_number

Replace IP_address and Port_number with your actual server details.

After logging in, update all installed packages with:

# yum -y update

This may take 10–15 minutes.

Set the Hostname

The hostname must be an FQDN (Fully Qualified Domain Name). Use a subdomain, for example:

# hostname

To set a new hostname, use:

# hostnamectl set-hostname demo.yourdomainname.com

After changing the hostname, reboot the server so changes take effect.

Install Required Packages

Depending on your Linux distribution, additional packages may be necessary before starting the DirectAdmin setup. Ensure these are installed according to your OS requirements.

Download DirectAdmin Setup Script

Next, download the installation script:

# wget http://www.directadmin.com/setup.sh

Assign executable permissions:

# chmod 755 setup.sh

To verify the permissions:

# ls -la setup.sh

Look for the x in the permission string, which confirms execution rights.

Start the DirectAdmin Installation

Check that the script is in your directory:

# ls - ls

Run the setup:

# ./setup.sh

When prompted with install pre-install packages, type Y. This may take 5–10 minutes. If it says the latest version is already installed, you can move forward.

You will now be asked for details:

  • Client ID (received from DirectAdmin via email)
  • License ID (provided in the email as well)
  • Hostname (the one you set earlier)

Confirm the details by typing Y.

If you see the question about your network adaptor:

Is eno 0 your network adaptor with the License IP address?

Type Y if correct. If not, enter n and specify the correct ethernet device. To check which adapter uses your public IP, run:

# ifconfig

[If needed, Our team is available 24/7 for additional assistance.]

Conclusion

By following these commands, you can install DirectAdmin Web Control Panel on your Linux VPS or dedicated server with confidence. The process is straightforward once the license, hostname, and packages are in place. DirectAdmin is lighter on resources compared to cPanel and gives you a full-featured interface for managing domains, users, and resellers effectively.