Direct admin

Direct Admin is a web hosting control panel that provides a graphical interface and automation tools to simplify the process of managing and administering web hosting services on a server. It is designed to make it easier for users to manage websites, email accounts, databases, and other aspects of web hosting without requiring advanced technical knowledge.

Direct Admin is often chosen by hosting providers who want a control panel that is relatively lightweight, efficient, and easy for end-users to navigate. It competes with other popular control panels like cPanel and Plesk in the web hosting industry. Each control panel has its strengths and features, and the choice between them often depends on individual preferences and requirements.

With Direct Admin, you can manage different parts of the site, including mailboxes, subdomains, DNS, list of IP addresses, used resources, database access, backup and server settings, etc. In addition to being lightweight and easy to use, the Direct Admin control panel has an anti-crash feature, leading to increased service stability. This control panel is incredibly quick since it was designed to be easy to use, visually pleasing, and functionally professional.

Key features of DirectAdmin include:

  1. User-Friendly Interface: DirectAdmin offers a clean and user-friendly interface that allows users to manage various aspects of their hosting environment easily.
  2. Website Management: Users can create and manage websites, domains, subdomains, and other related settings through the control panel.
  3. Email Management: DirectAdmin includes tools for managing email accounts, setting up email forwarders, and configuring other email-related settings.
  4. Database Management: Users can create and manage databases, database users, and configure database settings for applications like content management systems (CMS) or forums.
  5. File Management: DirectAdmin provides a file manager that allows users to upload, download, and manage files on their server.
  6. Security Features: The control panel includes security features such as SSL certificate management, IP blocking, and other security-related settings.
  7. Backup and Restore: Users can perform backups of their website data and restore it through the control panel.
  8. Resource Monitoring: DirectAdmin provides tools to monitor server resources, such as CPU usage, memory usage, and disk space.
  9. Customization: The control panel allows server administrators to customize various settings and features according to their preferences.

Prerequisites for installing Direct Admin in Ubuntu

  • VPS running Ubuntu 20.04 or 18.04
  • having root access or non-root sudo user
  • At least 500 Mhz processor
  • At least 1 GB of RAM (4 GB of RAM is recommended)
  • At least 2 GB of disk space
  • Getting a direct admin license
  • The domain name that is specified as your website’s hostname and will be managed by Direct Admin.

A useful guide to install DirectAdmin in Ubuntu

After preparing the minimum hardware resources to install Direct Admin and purchasing the Direct Admin license, now it is time to install and configure Direct Admin in Ubuntu; the steps to install DirectAdmin in Ubuntu are not complicated; since Ubuntu is based on Debian, installing DirectAdmin on Ubuntu is similar to installing DirectAdmin on Debian. The installation process starts by downloading the Direct Admin dependencies and then ends by running the installation scripts and following the page prompts to continue the installation process. Let’s get started.

1.Updating Ubuntu repositories

To ensure that the packages of the Ubuntu repositories are up to date, run the following command in the terminal as the root user:

sudo apt update
sudo apt upgrade

2. Installing necessary dependencies

Before you install DirectAdmin, you need to prepare your Ubuntu server by installing the required dependencies of DirectAdmin. To install the required packages in Ubuntu use the following commands:

sudo apt install wget gcc g++ make flex bison openssl libssl-dev \perl perl-base perl-modules libperl-dev libperl4-corelibs-perl \libwww-perl libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev cron \
bzip2 zip automake autoconf libtool cmake pkg-config python \libdb-dev libsasl2-dev libncurses5 libncurses5-dev libsystemd-dev \bind9 dnsutils quota patch logrotate rsyslog libc6-dev libexpat1-dev \libcrypt-openssl-rsa-perl curl libnuma-dev libnuma1

3. Downloading the direct admin installation script

To install the DirectAdmin installation script on Ubuntu from the official DirectAdmin website, run the following command:

bash <(curl -Ss https://www.directadmin.com/setup.sh) auto

4. Allowing the required ports of Direct Admin in the firewall

If you use a firewall, you need to open the ports in which Direct Admin is running so that access to Direct Admin is not blocked. Since Direct Admin is available by default on HTTP port 80, For this purpose, run the following command:

sudo ufw allow 80/TCP

Direct admin will work on default port 2222.So allow this port in firewall.

sudo ufw allow 80/TCP

Also, to access the direct admin, you can navigate to http://your-domain.com/2222 or http://your-server-ip/2222 in your preferred browser.

5. DirectAdmin configuration in Ubuntu

To complete the Direct Admin installation process, update the server hostname associated IP address.

And also update license key get from direct admin update it.

Once logged into direct admin panel, check all the configurations are correct, sever hostnmae, IP address ,Time zone, User name length and service status.

 

Direct admin

[Need assistance with similar queries? We are here to help]

Conclusion

To conclude, installing DirectAdmin ubuntu is an easy process, and can be done with the assistance of a few simple commands.