How to install DirectAdmin on your cloud server
DirectAdmin is a popular Linux-based control panel, which is a great alternative to cPanel. It offers users the same features as cPanel and at a much lower cost. It also enables complete server management, allowing users to focus on running their business and developing your application.
IMPORTANT: If you had previously purchased a VPSBG cloud server with a DirectAdmin license, the control panel would have been automatically installed on your server! This tutorial is for users that have purchased the license from another place or want to manually install it after reinstalling their server!
Check the system requirements before installing
Before you start doing anything, make sure that your server meets the system requirements. You can see the supported operating systems in the table below. Also, remember that a clean installation is required.
Operating system | Supported Versions |
CentOS | 6.x, 7.x, 8.x |
Debian | 8.x, 9.x, 10.x, 11.x (ALPHA), 12.x |
Ubuntu | 16.x, 18.x, 20.x, 22.x |
CloudLinux | 6.x, 7.x, 8.x |
FreeBSD | 11.x, 12.x |
The next thing you need to check is whether your license is valid. You should make sure that your server's IP address is licensed.
How to install DirectAdmin on your cloud server
Before you can start the installation process, you will need to log into your server as the ‘root’ (privileged user) through SSH. We recommend installing DirectAdmin within a screen session as that will keep the connection active even if there are network disruptions.
If you don’t have ‘screen’ installed, you can do so by typing the following command for CentOS:
yum -y install screen
If you are using another Debian-based Linux distribution, you can use this command instead:
apt-get -y install screen
Once you have installed ‘screen’, you will need to create a screen session. To do so, run the following command:
screen
When the session has been successfully created, type in this command:
wget -O setup.sh https://www.directadmin.com/setup.sh && chmod 755 setup.sh && ./setup.sh auto
This will initiate the installation process. If a network disruption occurs, you can sign into your server again using SSH and type ‘screen -r’ in order to resume the screen session.
How to access the DirectAdmin control panel
Once the installation is completed, you can access the control panel through the following URL:
http://{YOUR_SERVER_IP}:2222
IMPORTANT: Make sure to replace ‘{YOUR_SERVER_IP}’ with your server’s IP address!
If you need help installing DirectAdmin on your VPSBG cloud server, please do not hesitate to contact us!