DirectAdmin CentOS Install Guide

asishlla

Verified User
Joined
Jul 24, 2009
Messages
235
Installing DirectAdmin is also an extremely simple process to do.:D

To install DirectAdmin, you need some packages before hand. Run:

yum update -y
yum install gcc-c++ gcc automake -y
yum install make
yum install flex

At this point, it’s time to make sure nothing is preinstalled on your server, and if it is, it’s time to remove it.

Run:

yum remove httpd* php* mysql* -y

***Please do not install services such as Apache, PHP, MySQL, Ftp, Sendmail, etc., as we will do this for you. All we need is a CLEAN install of your operating system.***
We do not recommend installing DirectAdmin on an existing live production server.

Your server is now prepared to install DirectAdmin, so let’s begin.

Run:

wget http://directadmin.com/setup.sh
chmod +x setup.sh

./setup.sh

DirectAdmin’s setup has a few more things you need to fill:

Please enter your Client ID :
Please enter your License ID :
Please enter your hostname \(server.domain.com\)
It must be a Fully Qualified Domain Name
Do *not* use a domain you plan on using for the hostname:
eg. don’t use domain.com. Use server.domain.com instead.
Do not enter http:// or www
Enter your hostname (FQDN) :
Is this correct? (y,n) :
Is eth0 your network adaptor with the license IP? (y,n) :
Is xx.xx.xx.xx the IP in your license? (y,n) :

DirectAdmin will now be installed on: Enterprise 5
Is this correct? (must match license) (y,n) :

You now have 2 options for your apache/php setup.

1: customapache: older, more tested. Includes Apache 1.3, php 4 and frontpage.
2: custombuild 1.1: newer, less tested. Includes any Apache version, php 4, 5, or both in cli and/or suphp. Frontpage not available with Apache 2.x.
Post any issues with custombuild to the forum: http://www.directadmin.com/forum/forumdisplay.php?f=61

Enter your choice (1 or 2):

At the end
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.
 
Back
Top