How to install directadmin panel on almalinux and rocky linux OS
I just purchased VPS from The-Online.com to host my sites. I had emailed support and they asked me to take following steps to install directadmin control panel on Almalinux or Rocky Linux OS.
Server running DirectAdmin, it is recommended to set up the following partitions: /boot with 500 MB for boot files, swap with a size equal to twice the RAM but not exceeding 16 GB, /tmp with 1 GB for temporary files, and / (root) with 6 – 10 GB for the operating system. The /var partition should be allocated 8 – 20 GB to handle logs, emails, and databases, while /usr needs 5 – 12+ GB for user-installed software and DirectAdmin data. The remaining disk space, roughly 80%, should be allocated to /home for user data and websites. It’s also advisable to mount /home with the nosuid option in /etc/fstab for enhanced security.
What are the next steps in directadmin installation? Is there any tutorial or step by step guide?
tags: #directadmin #os #linux #almalinux #rockylinux #ubuntu #installation #help
Here’s how I installed direct-admin on Almalinux OS when I bought VPS here. You require minimum 1 CPU Core and 1 GB RAM VPS.
Step 1: Update Your Server
For AlmaLinux and Rocky Linux:
sudo yum update -y
For Ubuntu:
sudo apt update && sudo apt upgrade -y
Step 2: Set Hostname in FQDN
sudo hostnamectl set-hostname server.example.com
Step 3: Install Required Directadmin Packages
sudo yum install wget perl curl -y
Step 4: Download directadmin installation script
Navigate to the ‘/usr/local’ directory and download the DirectAdmin setup script.
cd /usr/local
Step 5: Run Directadmin installation
bash <(curl -fsSL https://download.directadmin.com/setup.sh) 'Provided license key here'
Step 6: Optionally, Configure Firewall
sudo firewall-cmd –permanent –add-port=2222/tcp
sudo firewall-cmd –permanent –add-port=80/tcp
sudo firewall-cmd –permanent –add-port=443/tcp
sudo firewall-cmd –reload
Step 7: Access Directadmin via Browser
Once the installation is complete, DirectAdmin should be running. You can access the DirectAdmin control panel via your web browser.
Navigate to https://your-server-hostname:2222
By following these steps, you should have a functional DirectAdmin installation ready to manage your hosting environment.