How to Install DirectAdmin on CentOS
In this tutorial, we will show you How to Install DirectAdmin on CentOS.
DirectAdmin is a graphical web-based web hosting control panel designed to make administration of websites easier. DirectAdmin is often called DA for short.
You will need a VPS Server with CentOS operating system installed on it.If you don’t have VPS Server, you can get it by following this link.
First login to your server with root access.
After, update the system by running this command:
yum update
Next, install the packages that DirectAdmin require.
For CentOS 6:
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
For CentOS 7:yum install psmisc net-tools systemd-devel libdb-devel perl-DBI
Now download the installation script:wget http://www.directadmin.com/setup.sh
Change setup.sh file permissions:chmod 755 setup.sh
And to finish this run the installation script:./setup.sh
Follow the instructions to finish the installation.You can access to DirectAdmin via URL http://yourIPaddress:2222 or http://yourdomain.com:2222.
You have successfully installed DirectAdmin in CentOS.