Knowledge Base

How Can We Help?

DirectAdmin Installation

You are here:

The installation guide for DirectAdmin can be found at http://www.directadmin.com/installguide.html

Sign in as root and obtain the setup.sh file

 

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

Trace:
Use “fetch” as an alternative of “wget” on FreeBSD methods.

Modify
permissions on the setup.sh file

# chmod 755 setup.sh

Execute
the setup script!

# ./setup.sh

You
may be prompted for a user ID number, license ID number, and
hostname.  

Important:
The hostname should not be the same as the primary domain name.
For example, gary.com is not the hostname, whereas server.gary.com is.
Having the same host/primary domain name will cause email and FTP
issues.  Also, please ensure that the hostname resolves when you
set up DNS.

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

Special notice for VPS/VDS installs:

After the installation, 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 would need to simply set the correct number:
ethernet_dev=eth0:1

or other systems with the IP on a different device, it may 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 can skip this step.

Leave a Comment