Server Hosting Company/ April 5, 2018/ Knowledge Base

In this guide, we will demonstrate How to install Direct Admin on CentOS7.

1. Login to your server first via SSH or KVM, via root.
2. Now, disable selinux.

setenforce 0
sed -i ‘s/enforcing/disabled/g’ /etc/selinux/config

3. Run the below command to install all the required packages for the DirectAdmin Control Panel.

yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-
devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel
cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed autoconf automake libtool which
patch mailx bzip2-devel lsof psmisc net-tools systemd-devel libdb-devel perl-DBI
xfsprogs rsyslog logrotate crontabs -y

4. Now, download the install script and run it.

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

5. Follow the steps from the wizard, select the default options. It will ask if you want to install the necessary packages, answer yes and they are already installed by the command above.

6. Install the license, by getting the details from the DirectAdmin website control panel. Following are the example details that we are using. Enter your details, not the ones which we are using.

Please enter your Client ID: 66879
Please enter your License ID: 258236
Please enter your hostname (server.domain.com)
It must be a Completely Qualified Domain Name.
Don’t use a domain you plan on using for the hostname:
(don’t use domain.com. Use server.domain.com instead.)
Do not enter http:// or www
Enter your hostname (FQDN): directadmin.abcd.io
Client ID: 66879
License ID: 258236
Hostname: directadmin.abcd.io
Is this correct? (y,n) : y
Is eth0 your network adapter with the license IP (105.166.182.245)? (y,n) : y
Your external IP: 105.166.182.245
The external IP should typically match your license IP.
Is 105.166.182.245 the IP in your license? (y,n) : y
DirectAdmin will now be installed on: Enterprise 7.2
Is this correct? (must match license) (y,n) : y

7. Now, you will be asked a further sequence of questions, mark yes to all of these questions for a basic installation with the default versions that DirectAdmin recommends.

8. When the installation is done, you will see the following output and will be able to login to the control panel.

http://105.166.182.245:2222
Use your own Server IP, not this one. Enter your Admin username and password when prompted.

DirectAdmin is the simplest to use web hosting control panel. Packed with ultimate features, DirectAdmin Hosting makes it easy to manage your websites, email accounts, DNS, and databases.

If you are searching for reliable and affordable UK Dedicated Server Hosting and Germany Dedicated Server Hosting solutions, end your search here. We offer you with web based interfaces and endless services for the server owner, resellers, and/or end-users.

About Server Hosting Company

Onlive Server is a leading Server Hosting Company provide Cheap and best server hosting plans for more than 35 countries. Available all server hosting plans like Dedicated Server, VPS Hosting and Cloud VPS server hosting. Managed Dedicated Servers: Onlive Server is giving fully managed Dedicated Servers, Linux and windows VPS and Cloud Servers.