Install DirectAdmin on CentOS 6 or 7

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 official site.

Update your server so that it has the latest packages:

yum update

Next, 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-devel

If you are running CentOS 7, run the following commands:

yum install psmisc net-tools systemd-devel libdb-devel perl-DBI

Now, 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.sh

To run the installation script, simply enter in the command:

./setup.sh

Follow the instructions on screen to complete the DirectAdmin installation. You can access DirectAdmin once its finished installing with your web-browser by navigating to http://server_ip:2222.

 
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To Speed Up Nginx on CentOS?

Introduction This tutorial will teach you how to optimize a website that is being hosted with...

Basics of Managing Users on CentOS Systems

Managing users can be a daunting task: from day-to-day maintenance, security risks, and lack of...

Check Internet Speed With Speedtest-cli on CentOS

Introduction In this tutorial, we'll be installing speedtest-cli to test the network speed of...

Initial Setup of a CentOS 7 Server

Introduction A newly activated CentOS 7 server has to be customized before it can be put into...

ModSecurity and OWASP on CentOS 6 and Apache 2

ModSecurity is a web application layer firewall designed to work with IIS, Apache2 and Nginx. It...

Powered by WHMCompleteSolution