DirectAdmin Logo

Step to install DirectAdmin to a clean CentOS 5.6

Step to install DirectAdmin to a clean CentOS 5.6

I just added 1TB WDC Black for my server and change from Fedora 6 to CentOS 5.6

After you install the clean OS, you must install gcc and gcc++ if not the error will output like this

DirectAdmin Logo

*** gcc is required for compiling, please install gcc (yum install gcc)****** g++ is required for compiling, please install g++ (yum install gcc-c++)***

*** cannot find /usr/sbin/setquota. Please make sure that quota is installed (yum install quota) ***

*** You have /var partition. The databases, emails and logs will use this partition. *MAKE SURE* its adequately large (6 gig or larger)

 

Press ctrl-c in the next 3 seconds if you need to stop

Installation didn't pass, halting install.

Once requirements are met, run the following to continue the install:

cd /usr/local/directadmin/scripts

./install.sh

 

 


So, after you login as root, you need to

# yum install gcc

# yum install gcc-c++

# yum install quota

# cd /root/



[adrotate banner=”2″]

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

–2011-04-20 12:39:54– http://www.directadmin.com/setup.sh

Resolving www.directadmin.com… 66.51.122.131

Connecting to www.directadmin.com|66.51.122.131|:80… connected.

HTTP request sent, awaiting response… 200 OK

Length: 34979 (34K) [application/x-sh]

Saving to: `setup.sh’

100%[============================================================================================================================================================>] 34,979 40.5K/s in 0.8s

2011-04-20 12:40:13 (40.5 KB/s) – `setup.sh’ saved [34979/34979]

# chmod 755 setup.sh
# ./setup.sh

*** 64-bit OS ***

Please enter your Client ID : 888

Please enter your License ID : 99999

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) : server.example.com

Client ID: 888

License ID: 99999

Hostname: server.example.com

Is this correct? (y,n) : y

Is eth0 your network adaptor with the license IP? (y,n) : y

Is 210.8.88.888 the IP in your license? (y,n) : y

DirectAdmin will now be installed on: Enterprise 5.6

Is this correct? (must match license) (y,n) : y

You now have 2 options for your apache/php setup.
[adrotate banner=”1″]
1: customapache: end-of-life software. Includes Apache 1.3, php 4 and frontpage. **Not recommended**. Will not work with newer OSs. Limited tech support.

2: custombuild 1.1: newer software (recommended). Includes any Apache version, php 4, 5, or both in cli and/or suphp. Frontpage not available.

Post any issues with custombuild to the forum: http://www.directadmin.com/forum/forumdisplay.php?f=61

Enter your choice (1 or 2): 2

You have chosen custombuild 1.1.

Would you like the default settings of apache 2.2 and php 5 cli? (y/n): y

Using the default settings for custombuild.

beginning pre-checks, please wait…

Most of the way just press y.

The installation will be completed.

Admin user created

## INSTALL_COMPLETE

## ACCOUNT_INFO

The following information has been set:

Admin username: admin

Admin password: your_secret_password

Admin email: [email protected]

You need to start the DirectAdmin before access to your_ip_address:2222

# service directadmin start

Open your browser, open:

http://your_ip_address:2222/

Login with

Username: admin

Password: your_secret_password

Tags:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.