How to install DirectAdmin to your KVM VPS
Introduction
DirectAdmin is a web hosting control panel software, similar to cPanel, which allows you to administer your website and hosting options using a graphical, web-based interface. You can manage an unlimited number of websites, email accounts, etc.
Prerequisites
- an active KVM VPS
- DirectAdmin license
How to install DirectAdmin to your KVM VPS
1. Please check the OS requirements here: https://www.directadmin.com/install.php
2. Run pre-install commands listed here: https://help.directadmin.com/item.php?id=354
Example: CentOS 7
3. Download the installation script, and run it:
bash <(curl -Ss https://www.directadmin.com/setup.sh || wget -O - https://www.directadmin.com/setup.sh) auto
If you have issues installing DirectAdmin on our VPS, you can change the DNS to Google DNS. Open /etc/resolv.conf file and paste following lines in it:
nameserver 8.8.8.8
nameserver 8.8.4.4
Remove/comment out any existing lines.
4. Accessing the Control Panel DirectAdmin can be accessed at http://server.ip.address:2222
–Using the Admin username/password specified in the setup.txt file in your scripts directory located at /usr/local/directadmin/scripts/setup.txt
less /usr/local/directadmin/scripts/setup.txt
Or you can change the password directly via SSH with the command:
passwd admin