DirectAdmin 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. First, make sure that you are logged in under your root user and that you have purchased a DirectAdmin license from their Update your server so that it has the latest packages:
yum updateNext, we are going to install the packages that DirectAdmin needs on CentOS 6 to run properly. You can do that by executing the following command:
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 db4-develIf you are running CentOS 7, run the following commands:
yum install psmisc net-tools systemd-devel libdb-devel perl-DBINow, download the DirectAdmin installation script through wget. If you don't have wget yet, then you can install it via the command yum install wget.
wget http://www.directadmin.com/setup.sh chmod 755 setup.shTo run the installation script, simply enter in the command:
./setup.shFollow the instructions on screen to complete the DirectAdmin installation. You can access DirectAdmin once its finished installing with your web-browser by navigating to