DirectAdmin Installation

DirectAdmin Installation

By  on October 23rd, 2015

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.

 

  • 0

Set up DirectAdmin to Use a Remote MySQL Server

Set up DirectAdmin to Use a Remote MySQL Server We can set up MySQL to be run on an external...

Redirect Website /Path to Use HTTPS in DirectAdmin

Redirect Website /Path to Use HTTPS in DirectAdmin Nowadays, If you are not using an SSL...

How to Use IPv6 Address in DirectAdmin

How to Use IPv6 Address in DirectAdmin As we all know that what is an IP address?. It is nothing...

Too Low or 0.00 Disk Usage in DirectAdmin

Too Low or 0.00 Disk Usage in DirectAdmin To check the partition on our server, need to run the...

Autodiscover Information For Mail Clients in DirectAdmin

Autodiscover Information For Mail Clients in DirectAdmin Autodiscover is a system to figure out...