The ultimate guide to installing Directadmin

By | July 20, 2013

In this tutorial we are going to show you how to install Directadmin onto different operating systems. This tutorial will include:

Directadmin installation on FreeBSD

First, ensure you have the correct OS.
Supported operating systems are:

  • FreeBSD 5.x, 6.x, 7, 7 64-bit, 8 64-bit, 9 64-bit (7.3 and 9 may require an exim recompile)

Ensure you have at least one external IP address. It is not possible to use NAT or LAN based network.
You can see your network with the following command.

ifconfig

Then install some requirements with yum, these tools are required to install Directadmin correctly.

pkg_add -r gmake perl wget bison flex gd cyrus-sasl2

Download the setup file from Directadmin.

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

Set execute permissions to the file.

chmod 755 setup.sh

Start the installer.

./setup.sh

That’s it, the installer will ask you some questions about the setup of your system and will install Directadmin for you.
After the install, you will have your FreeBSD server with the Directadmin control panel.


Directadmin installation on Debian / Ubuntu / Linux Mint

First, ensure you have the correct OS.

cat /etc/debian_version

Supported operating systems are:

  • Debian 4.0, 5.0, 6.0. 64-bit: 5.0, 6.0

Ensure you have at least one external IP address. It is not possible to use NAT or LAN based network.
You can see your network with the following command.

ifconfig

Then install some requirements with yum, these tools are required to install Directadmin correctly.

apt-get update
apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev bzip2 automake autoconf libtool

Download the setup file from Directadmin.

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

Set execute permissions to the file.

chmod 755 setup.sh

Start the installer.

./setup.sh

That’s it, the installer will ask you some questions about the setup of your system and will install Directadmin for you.


Directadmin installation on CentOS / Redhat / Fedora / Scientific Linux

First, ensure you have the correct OS.

cat /etc/issue

Supported operating systems are:

  • Fedora 7, 8 (not supporting future versions)
  • RedHat Enterprise / CentOS 4.x, 5.x, 6.x (64-bit: 4.1 – 4.5, 5.x, 6.x)

Ensure you have at least one external IP address. It is not possible to use NAT or LAN based network.
You can see your network with the following command.

ifconfig

Then install some requirements with yum, these tools are required to install Directadmin correctly.

yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 db4-devel cyrus-sasl-devel perl-ExtUtils-Embed autoconf automake libtool

Download the setup file from Directadmin.

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

Set execute permissions to the file.

chmod 755 setup.sh

Start the installer.

./setup.sh

That’s it, the installer will ask you some questions about the setup of your system and will install Directadmin for you.

Leave a Reply

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