DirectAdmin (DA) latest installation tutorial (2020)

DirectAdmin (DA) latest installation tutorial (2020)

I haven't installed a panel for several years. When I was organizing documents, I saw a file recording DA authorization. I wanted to see what the DA panel looks like now, so I asked the merchant to change the authorization IP and prepare to install it again. I recorded the process for easy viewing. In general, the installation of custom components is no different from the previous article. Of course, the versions of each component have been greatly updated and improved.

What is DA

DA is our abbreviation for DirectAdmin, a professional virtual host management panel developed abroad. It contains rich web environment components, can easily manage sites on the server, and supports docking with domestic and foreign financial systems, such as WHMCS.

Pre-installation preparation

First of all, we need a VPS or server with a Linux operating system, and we need DA authorization. This article takes the CentOS7.* system as an example. The host used is from 80VPS, a US KVM architecture VPS, configured with dual cores and 1GB memory. This configuration can smoothly install and use the DA panel. Because the entire installation process may take a little longer, after the server operating system is installed and configured, we first log in to install the screen, and then operate under the screen, leaving halfway will cause problems. Then we can turn off selinux, install necessary components, and remove the original web components of the system (if the system has them by default).

 yum install screen
sed -i "s/^SELINUX=.*/SELINUX=disabled/" /etc/sysconfig/selinux
yum -y update
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 db4-devel cyrus-sasl-devel perl-ExtUtils-Embed automake autoconf libgd.so.2 libdbus-1.so.3 patch
yum remove httpd php mysql

Install

The installation process of DA can be divided into two types. One is the custom installation that the tribe has recorded before, which is suitable for friends who have requirements for each component version and component content; the other is the automatic installation provided by the official website. Basically, no information needs to be entered (including the authorization ID). It is completed automatically. It is a lazy mode and can basically meet the needs of most people.

1. Automatic installation

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

After issuing the command, you can just wait for it to complete automatically. It is very convenient.

2. Custom Installation

Also download the source code, grant permissions, and start the installation.

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

Enter the user ID, authorization ID, host name and other information and confirm.

Since this VPS has an intranet IP, there is also an option to confirm the network card.

There is still a question whether to choose the default component. It is not too late to regret it now. Of course, if we choose to customize it, we can just click n.

There are many custom component projects, and you can choose whether to install them and the specific version you need according to your needs.

After all the selections are made, select the most appropriate download image for your current machine to start the installation process.

Next, start waiting patiently. The time required depends on the hardware performance of your machine, network quality, etc. After completion, the login information (including address, user name and password) will be listed as shown below.

Installation Complete

After completion, we can use the login information to log in to the panel. If you forget to copy the password, or other problems do not save the password, you can also use the command to force the password to be changed directly: passwd admin

Compared to the last DA panel I installed, this interface theme has changed a lot!

Finally, here is the official page about the installation steps: https://www.directadmin.com/installguide.html

<<:  RAKsmart San Jose servers start from $30, Japan/US servers 100M-10Gbps bandwidth high-defense servers, cluster servers

>>:  Huawei Cloud Double 11: Cloud server annual payment starts from 88 yuan, new and old users can receive up to 11,110 yuan in coupons

Recommend

Detailed explanation: How did China Mobile perform in 2020?

[[390976]] Compared with China Telecom and China ...

UK government to phase out 2G and 3G mobile networks by 2033

Britain said on the 8th that it will gradually ph...

Top 10 acquisitions that changed the Internet industry in 2016

【51CTO.com Quick Translation】 In the Internet ind...

Did you know? Did you know? Telecom networks should focus on multi-layer orchestration

A few years ago, the word “orchestration” was har...

Canceling traffic "roaming": Will there be 93 operators in China?

At the first session of the 13th National People&...

Why does the cluster need an Overlay network?

Engineers who have a little knowledge of computer...

Σco Time | Grasping new trends, Hunan's smart campus transformation is accelerating

【51CTO.com original article】 Networking, digitiza...

Virtono: €11.21/year KVM-512MB/15G SSD/1TB/San Jose & Dallas & Romania, etc.

Virtono is a foreign VPS hosting company founded ...

POTN: The Future of Optical Transport Networks

Packet Optical Transport Network (POTN) is a rapi...

Operating system: Introduction to SSH protocol knowledge

Today I will share with you the knowledge related...