DropVPS Team
Writer: John hens
how to install directadmin on Centos 9.1

Table of Contents
Installing DirectAdmin on CentOS 9.1 is simple and helps you manage your web hosting with a powerful control panel. Follow these easy steps to set it up correctly and securely.
Step 1: Update Your System
Before starting the installation, update your CentOS 9.1 system to make sure all packages are up to date and ready for DirectAdmin.
sudo dnf update -y
Step 2: Set a Hostname
A proper hostname is required for DirectAdmin to work smoothly. Use a fully qualified domain name like server.example.com.
sudo hostnamectl set-hostname server.example.com
Step 3: Download the DirectAdmin Installer
Next, download the official DirectAdmin installation script, which includes all required components and prepares your CentOS 9.1 server for a smooth and error-free installation.
wget https://www.directadmin.com/setup.sh
Step 4: Run the Installation Script
After downloading the installer, make the script executable and run it as the root user to start the automated installation of DirectAdmin, ensuring all components are set up correctly on CentOS 9.1.
chmod +x setup.sh
sudo ./setup.sh
Step 5: Access DirectAdmin Panel
After the installation completes, open your browser and go to your server’s IP address on port 2222 to access the control panel.
http://your-server-ip:2222
Step 6: Configure and Secure DirectAdmin
Once logged in, configure your admin settings and enable SSL to secure your server and keep your hosting environment safe.
/usr/local/directadmin/scripts/setupssl.sh