Table of contents
The article did not help you?
Contact us

How to install DirectAdmin on my server?

Crafted with love, DirectAdmin is a popular Linux-based control panel, which is an alternative to cPanel. It provides users with complete server management, so you can focus on running your business and developing your application.

 

Getting started

Before you start doing anything, make sure that your server meets the system requirements. You can see the supported operating systems by DirectAdmin in the table below. A clean installation is required.

 

Operating systemSupported Versions
CentOS6.x, 7.x, 8.x
Debian8.x, 9.x, 10.x, 11.x (ALPHA)
Ubuntu16.x, 18.x, 20.x
CloudLinux6.x, 7.x, 8.x
FreeBSD11.x, 12.x

 

The next thing you need to check is your license. Make sure that your server's IP address is licensed. If you bought your license with us, your license is activated at the moment when you pay your order.

 

Installing DirectAdmin on your server

SSH access is required for the installation. Please sign in (as root - privileged user) to your server through SSH. We recommend that you install DirectAdmin within a screen session. It will make the installation more stable because the session will stay active if network disruption occurs.

So, let's install screen (if it's not installed already). Use this command for CentOS:

yum -y install screen

Or this for Debian-based Linux distros:

apt-get -y install screen

 

To move forward, we need to create a screen session running this command:

screen

When the session is created, run the following command:

wget -O setup.sh https://www.directadmin.com/setup.sh && chmod 755 setup.sh && ./setup.sh auto

And the installation will begin shortly. If a network disruption occurs, you can sign into the server again with SSH and type screen -r in order to enter the screen session.

 

Accessing your DirectAdmin control panel

Once the installation is completed, you can access the control panel with this URL: http://{YOUR_SERVER_IP}:2222

If you need help installing DirectAdmin on your VPSBG server, please do not hesitate to contact us. Every server bought with a DirectAdmin license comes with installed DirectAdmin on it for free.