Summary: This article discloses everything about How to install DirectAdmin on CentOS 7 in a few simple steps without having any technical expertise.

What you’ll Need

  • 1.) A Linux server running with CentOS 7</
  • 2.) SSH Root Access</
  • 3.) Running domain which you want the point on Direct Admin for hostname for eg.
  • 4.) Valid Client ID & Licence ID form Directadmin.
  • 5.) Install the following prerequisite packages: 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

Let’s Start Step by Step DirectAdmin Installation on CentOS 7

Hire Us to Migrate Your cPanel Accounts to Direct Admin!

  • Step 1). To install DirectAdmin firstly we need to disable the firewall. Login as a root to run the follow ing command :
    setenforce 0
    sed -i ‘s/enforcing/disabled/g’ /etc/selinux/config
  • Step 2). wget
  • Step 3). Change the downloaded setup file permission: chmod 755
  • Step 4). Run the command [root@centos ~]# ./
  • Step 5). The Installation wizard will be started to install DirectAdmin on your server. It will ask you if you want to install the prerequisite packages, answer yes

Would you like to install these required pre-install packages? (y/n): Y

Please enter your Client ID: Enter Client ID

Please enter your License ID: Enter your Licence ID

Enter your hostname (FQDN):

It must be a Fully Qualified Domain Name

Do *not* use a domain you plan on using for the hostname:
(don’t use Use instead.)

Is this correct? (y,n) : Y

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

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

Would you like to search for the fastest download mirror? (y/n): y

Once the installation completed you will see the following output : (Use your own Server IP, not this one) and enter your Admin username and password when prompted.