Chapter 1. Installing Magento 2 on Apache and NGINX

In this chapter, we will cover the basic tasks related to installing Magento 2 on Apache and NGINX. You will learn the following recipes:

  • Installing Apache
  • Installing NGINX
  • Installing PHP-FPM
  • Installing HHVM
  • Installing MySQL
  • Installing Magento 2
  • Installing Magento 2 on Hypernode
  • Managing Magento 2 on Docker

Introduction

This chapter explains how to install Magento 2 on a hosting environment. When installing a new Magento 2 instance, we can use either a Linux, Apache, MySQL, PHP (LAMP) or Linux, NGINX, MySQL, PHP (LEMP) setup. Currently, options such as MariaDB or HHVM are equivalent to MySQL or PHP. Only HHVM will be converted in this chapter.

We will install a clean Magento 2 setup on a hosted virtual ...

Get Magento 2 Cookbook 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.