Step by step guide to install Directadmin control panel

1.Before installing directadmin control panel on your server make sure you have purchase the directadmin license and Verify that the server IP address and operating system is correct. Also make sure that the license is Active and Verified .

2.Make sure that you have freshly installed operation system.

Operating system

Operating systems supported by DirectAdmin are listed in the table below.

OS Versions
CloudLinux (recommended)  6.x 32/64-bit, 7.x 64-bit
RedHat Enterprise / CentOS 6.x 32/64-bit, 7.x 64-bit, 8.x 64-bit
Debian 8.x 64-bit, , 9.x 64-bit, 10.x 64-bit (click for Ubuntu)
FreeBSD 11.x 64-bit, 12.x 64-bit

3. Run the pre-install commands before starting the install using the link below. Please select command based on your os.

https://help.directadmin.com/item.php?id=354

4. Login as root and download the setup.sh file

wget https://www.directadmin.com/setup.sh

Use “fetch” instead of “wget” on FreeBSD systems.

5.Change permissions on the setup.sh file

chmod 755 setup.sh

6.Run the script

./setup.sh auto

The auto method will be best for most people. It automatically installs everything for you, including the CSF firewall.

It can also be called as ‘./setup.sh’ without options, which requires input but allows for customization.

Special notice for VPS/VDS installs:

After the install, add the following to /usr/local/directadmin/conf/directadmin.conf:
ethernet_dev=devicename
For example, on many vps systems it will be:
ethernet_dev=venet0:0
Other systems where the IP is not the base IP on the device, you’d need to simply set the correct number:
ethernet_dev=eth0:1
Or other systems with the IP on a different device, it might be:
ethernet_dev=eth1
Type:/sbin/ifconfig
to see which device your IP is in.

Was this article helpful?
YesNo

Leave a Reply

Your email address will not be published. Required fields are marked *