Installing DirectAdmin on CentOS

This article is to help install DirectAdmin on your Synatiq instance. DirectAdmin is a premium control panel included for free with all Synatiq cloud instances.

 

1. Make sure your instance has been freshly reinstalled with CentOS 6, CentOS 7 or CentOS 8. 

2. Depepending on your CentOS version, run one of the pre-install commands:

CentOS 6:

yum install wget tar 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 glibc-headers kernel-devel expat-devel db4-devel

The libcom_err-devel package is for CentOS 6, relating to this error.

CentOS 7

yum install wget tar 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 glibc-headers kernel-devel expat-devel \
psmisc net-tools systemd-devel libdb-devel perl-DBI perl-Perl4-CoreLibs perl-libwww-perl xfsprogs rsyslog logrotate crontabs file kernel-headers


CentOS 8

yum install wget tar 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 glibc-headers kernel-devel expat-devel \
psmisc net-tools systemd-devel libdb-devel perl-DBI perl-libwww-perl xfsprogs rsyslog logrotate crontabs file \
kernel-headers hostname

3. Run the commands below (line by line) to download and start the DirectAdmin installation script:

wget -O setup.sh https://www.directadmin.com/setup.sh

chmod 755 setup.sh

./setup.sh auto

The installation will complete in 20-40 minutes.

4. You will now need to find the Admin username and password for your DirectAdmin setup. You can find that by running the command below:

ls /usr/local/directadmin/scripts/setup.txt

5. Access the DirectAdmin interface by going to your browser - http://YOUR_INSTANCE_IP:2222 (change YOUR_INSTANCE_IP with the IP address of your instance).

 

Following the steps above, you should have successfully installed and accessed DirectAdmin. Should you have any issues, please don't hesitate to contact our support.


Was this article helpful?

mood_bad Dislike 0
mood Like 3
visibility Views: 74