Innovate | Connect | Transform
ContactService statusUSD $

Review your bag

See your items and continue to checkout.

Your bag is empty.

Explore hosting

GICT knowledge base

DirectAdmin Installation

Published

DirectAdmin

Installation Instructions for DirectAdmin are available at http://www.directadmin.com/installguide.html

Login
as root and download the setup.sh file


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

Hint:
Use "fetch" instead of "wget" on FreeBSD systems.

 

Change
permissions on the setup.sh file

 

# chmod 755 setup.sh

Run
the setup script!

 

# ./setup.sh

You
will be prompted for a client ID number, license ID number, and
hostname.  

 

Important: 
The hostname should not be the same as the primary domain name. 
e.g. gary.com is not a good hostname, where server.gary.com is. 
Having the same host/main domain name will cause e-mail and FTP
problems.  Also, please make sure the hostname resolves once you
setup DNS.

 

That’s
it!  Please see below if you are installing on a VPS, or wanting to
setup DirectAdmin for secure (https://) control panel access.

 

Special notice for VPS/VDS installs:

After the install, add:

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.


to /usr/local/directadmin/conf/directadmin.conf.

 
Replace devicename with the FULL
devicename reported by ifconfig. If your VDS/VPS system emulates eth0,
then you may skip this step.

 

Related guides

Account services are unavailable until the production backend is configured.