> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Install DirectAdmin on CentOS?

DirectAdmin(DA) is a Commercial Hosting Control Panel and is used for selling shared and reseller hosting accounts.

We are going to install DirectAdmin on CentOS 7/8.

### What are the requirements?

- Fresh CentOS 7 or CentOS 8, installed on your VPS/Server.

# How to install DirectAdmin?

**Step 1**:  The first step is to log in [to your root account using SSH](https://help.ex2.com/en/article/how-to-use-ssh-access-on-ex2-hosting-15g8fis/) or any other way and enter these commands:


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


![](https://www.ex2.com/clients/img/directadmin-installation-command-step1.gif)

Once the installation starts, it may take from 20 to 30 minutes to complete.

**Step 2**:  After the installation is complete, it will display the login credentials on-screen with the login URL. You can access it by changing the URL in your browser to http://IP-Address:2222 (Replace IP-Address text with your server IP).