Chapter 2. Installation

In this chapter, we will cover the tasks related to installing Magento 2 in a Linux server, including the following ones:

  • Setting up an AWS server
  • Installing PHP
  • Installing MySQL
  • Installing Magento dependencies
  • Creating a custom domain for the server
  • Setting up GIT for version control
  • Setting the right permissions for the server

System requirements for Magento 2

Before moving forward with the installation, we should review the system requirements for Magento 2 to ensure that the environment is correct for Magento to run properly.

The following are the system requirements for Magento 2:

  • Operating System:
    • Linux

  • Web servers:
    • Apache 2.2 or 2.4
    • nginx 1.8

  • Database:
    • MySQL 5.6 or
    • MySQL 5.7 (Magento 2.1.2 or above) or
    • MariaDB or
    • Percona

  • PHP:
    • PHP 5.6 ...

Get Magento 2 Beginners Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.