It’s best to install DirectAdmin on a fresh Linux OS install. I suggest Almalinux or RockyLinux
Before you begin, set the hostname of the server. A default setup would be server.mydomain.com
- Make sure your hostname is correct. Type hostname and press enter to verify the hostname is correct.
- Run the command bash <(curl -fsSL https://download.directadmin.com/setup.sh) ‘auto’
- Once completed, you will get a username, password and URL to log into the control panel. Save this information.