Install DirectAdmin on CentOS server

[Total: 3    Average: 5/5]

Install DirectAdmin on CentOS serverDirectAdmin is a proprietary web-based control panel that you can install on your server which offers a variety of system-administration features.

In this article, we are going to install DirectAdmin on a CentOS server.

Before installing DirectAdmin, there are some basic programs that you’ll need.  The following are the typical commands used before we install DirectAdmin.

On Rehat/Fedora/CentOS:

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 db4-devel

CentOS 7

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 psmisc net-tools systemd-devel libdb-devel perl-DBI xfsprogs

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