How to install Directadmin in a Linux server?

Do you aim to install DirectAdmin on your Linux server? Discover a simplified guide to ensure a smooth installation process.

Step 1: Check System Compatibility

Before you begin, ensure your Linux server meets the following requirements:

  • Clean OS installs
  • At least one external IP address
  • Supported OS and versions: CloudLinux (6.x, 7.x, 8.x), AlmaLinux/RHEL/CentOS (7.x, 8.x), Debian (8.x, 9.x, 10.x, 11.x ALPHA), Ubuntu (16.04, 18.04, 20.04), FreeBSD (11.x, 12.x)

Step 2: Validate License Information

Confirm the accuracy of your license information by signing in to your client account. Visit this link and click "view" next to your license. Verify the correct server IP address and operating system. Ensure the license is Active and Verified.

Step 3: Installation Process

Proceed with the installation by following these steps:

  • Log in as root to your server.
  • Download the installation script:
bash <(curl -Ss https://www.directadmin.com/setup.sh || wget -O - https://www.directadmin.com/setup.sh) auto

Alternatively:

bash <(curl -fsSL https://download.directadmin.com/setup.sh) 'YourLicenseKey'

Choose the 'auto' option for a hassle-free installation. It automatically installs everything, including the CSF firewall. If you prefer customization, omit the 'auto' option, allowing for manual input.

Important Note: Ensure your server's hostname differs from the primary domain name. For example, 'gary.com' is not recommended; instead, use 'server.gary.com' to avoid email and FTP issues. Verify the hostname resolution after setting up DNS.

Accessing the Control Panel

DirectAdmin can be accessed at http://server.ip.address:2222. Use the Admin username/password from the output information provided by setup.sh, also available in the /usr/local/directadmin/scripts/setup.txt file.

Follow these steps, and you'll have DirectAdmin efficiently installed and ready for use on your Linux server.

Was this answer helpful? 0 Users Found This Useful (0 Votes)

Powered by WHMCompleteSolution