Magento is a powerful e-commerce platform for professional webshops. In this article, we explain how to install Magento via Installatron in DirectAdmin.

Before You Begin

System Requirements

Magento 2 has specific requirements:

  • PHP: 8.1 or 8.2
  • Memory: Minimum 2GB RAM (4GB recommended)
  • Disk space: Minimum 5GB free
  • Database: MySQL 8.0 or MariaDB 10.4+

Suitable Hosting Package

Magento is resource-intensive. We recommend a VPS or Premium Hosting package for optimal performance.

Installing Magento via Installatron

Step 1: Log in to DirectAdmin

Go to https://yourdomain.com:2222 or via MyTheory7.

Step 2: Open Installatron

Click on "Installatron Applications Installer or "Softaculous.

Step 3: Find Magento

  1. Click on "E-Commerce in the categories
  2. Select "Magento Open Source
  3. Click "Install

Step 4: Configure the installation

Location:

  • Domain: Select your domain
  • Directory: Leave empty for root domain, or enter a folder (e.g., "shop")

Version:

  • Choose the latest stable version (2.4.x)

Database:

  • Let Installatron automatically create a database

Admin account:

  • Admin username: Choose a secure name (not "admin")
  • Admin password: Minimum 12 characters with uppercase, numbers, and symbols
  • Admin email: Your email address

Step 5: Start the installation

  1. Check all settings
  2. Click "Install
  3. Wait for the installation to complete (this may take 5-10 minutes)

After Installation

Opening the Admin Panel

Go to: https://yourdomain.com/admin or the URL shown by Installatron.

First Steps

  1. Log in with your admin credentials
  2. Complete the setup wizard
  3. Configure your store details
  4. Add products

Common Problems

"Allowed memory exhausted" error

Increase PHP memory to at least 2GB via PHP Selector.

Installation takes too long

Magento is large. Wait up to 15 minutes. Then check the error logs.

Page doesn't load after installation

  1. Clear the cache: php bin/[magento cache](https://support.theory7.net/hc/en-us/articles/1294-magento-caching-and-performance-optimization):flush
  2. Set the correct permissions on the var/ and generated/ folders

Need Help?

Problems with Magento installation? Contact our support.