User

Installing Magento

How to install Magento Community Edition on a domain using Opterius Panel.

Last updated 1775606400
  • PHP Version
  • Troubleshooting
  • Next Steps
  • Opterius Panel can install Magento Community Edition using Composer and Adobe's official package repository (repo.magento.com). Because Magento requires authentication with Adobe Commerce Marketplace, you need to provide your Marketplace API keys before installing.

    Requirements

    • An active domain or subdomain on your account
    • PHP 8.2 or higher with extensions: bcmath, ctype, curl, dom, gd, intl, mbstring, openssl, pdo_mysql, simplexml, soap, xml, xsl, zip, sockets
    • At least 4 GB disk space (Magento + vendors)
    • Adobe Commerce Marketplace account with access keys
    • A server with at least 2 GB RAM (Magento compilation is memory-intensive)

    Get Magento Marketplace Keys

    Before installing, you need API keys from Adobe Commerce:

    1. Sign in at commercemarketplace.adobe.com
    2. Go to My Profile → Access Keys
    3. Create a new key pair (or use an existing one)
    4. Copy the Public Key (used as username) and Private Key (used as password)

    Installing Magento

    1. In the sidebar, go to Software → Magento
    2. Click Install Magento
    3. Fill in the form:
      • Domain — the domain or subdomain to install on
      • Install Path — leave empty for the domain root
      • Site Name — your store name
      • Admin Username / Password / Email — your Magento admin credentials
      • Public Key and Private Key — your Magento Marketplace keys
    4. Click Install Magento

    [!WARNING] Magento installation is resource-intensive and takes 5–10 minutes. Do not close the browser — the panel will show a spinner while the install runs. If it times out, the process continues in the background; check back after a few minutes.

    The installer:

    1. Writes Magento Marketplace credentials to the server's Composer auth store
    2. Runs composer create-project magento/project-community-edition
    3. Updates Nginx to serve from Magento's pub/ directory
    4. Runs magento setup:install with your database and admin credentials
    5. Compiles dependency injection (setup:di:compile)
    6. Deploys static content (setup:static-content:deploy)
    7. Flushes the cache (cache:flush)

    After Installation

    Access the Admin Panel

    Go to https://yourdomain.com/admin (or the admin URL shown in the success message) and sign in.

    Switch to Production Mode

    Magento installs in developer mode by default:

    cd /home/{username}/{domain.com}
    php bin/magento deploy:mode:set production
    

    Configure Cron Jobs

    Magento requires cron jobs for indexing, email, and other scheduled tasks. Add them:

    php /home/{username}/{domain.com}/bin/magento cron:install
    

    This adds the required entries to the system crontab automatically.

    Enable Redis (Recommended)

    For better performance, configure Redis as the cache and session backend. Opterius Panel does not auto-configure Redis — refer to the Magento documentation for setup.

    Enable SSL

    Issue an SSL certificate for your domain, then configure the base URLs in Magento:

    php bin/magento config:set web/unsecure/base_url https://yourdomain.com/
    php bin/magento config:set web/secure/base_url https://yourdomain.com/
    php bin/magento config:set web/secure/use_in_frontend 1
    php bin/magento config:set web/secure/use_in_adminhtml 1
    php bin/magento cache:flush
    

    PHP Version

    Magento 2.4.7+ requires PHP 8.2 or 8.3. Set this before installing:

    1. Go to PHP in the sidebar
    2. Select PHP 8.2 or 8.3 for this domain

    Troubleshooting

    "Invalid credentials" during Composer download

    Your Marketplace keys are wrong. Double-check them at commercemarketplace.adobe.com.

    "Out of memory" error during compilation

    Increase PHP memory limit for this domain. Go to PHP → Configuration and set memory_limit to at least 2G.

    Admin URL shows a 404

    Run:

    php bin/magento info:adminuri
    

    to find the correct admin URL. Magento appends a random suffix by default.

    White screen / 500 error

    php bin/magento deploy:mode:set developer
    tail -100 var/log/system.log
    

    Next Steps