Installing DirectAdmin on AlmaLinux Rocky Linux

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

One Comment

  1. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Similar Topics

  • VPS for FOSS Project Hosting

    Need VPS for hosting FOSS projects in various locations I am a FOSS developer and activist and I require sponsor in way of giving us…

  • it.com Domain Name Registration

    Register it.com domain names here for cheap The-Online.com domain registrar is now offering it.com domain name registration services. In the beta phase The Online marketed…

  • RediffMail Alternatives

    Looking for better rediffmail alternatives My rediffmail account for business can’t stop spam emails at all. It’s flooded with spam. I read on google that…

  • Tiiny Host Site Transfer

    I need to migrate my site from Tiiny Host to The Online How to transfer my site hosted with Tiiny Host to The-Online.com web hosting?…

  • Register “Cheap .COM Domain” Here

    The-Online.com offers “cheap .com domain” name registration. Register cheap .com domain for your business site, wordpress site, shopify store, startup or app. Low cost .com…

  • Spaceship Sellerhub Commission Hiked to 10%

    Spaceship increased the commission on domain selling from 5% to 10% Spaceship domain registrar’s has increased the commission to 10% when you sell domain name…