Posted by: Mangesh_Linux_Administrator | November 20, 2010

DirectAdmin installation


DirectAdmin requires gcc and g++ to be installed on your server. If you dont already have these installed, they must be added before continuing.

yum install gcc
yum install gcc-g++
yum install gcc-c++

Next, we need to download the DirectAdmin installation script to your server and launch it. To do this, execute the following three commands in your terminal window:

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

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) :y
Is eth0 your network adaptor with the license IP? (y,n) :
( make sure your that waht is your network adapter because it might vnet0:0 on VPS  )
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):

Step 3

Follow the steps in the installation wizard. When you get to a step asking of eth:0 is the correct interface select no, then enter venet0:0 as your network adapter.

DirectAdmin advises that you do not set your hostname and default domain as the same as it can cause ftp and email issues.

The installer script will take quite a while to work, so please be patient! Once its done, it will tell you your default admin username and password. You should change the password on your first login.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

Categories

%d bloggers like this: