
with this command: pico /usr/ local/etc/nginx/nginx. At first, edit the nf in this directory, e.g.

The initial configuration can be found in the directory /usr/local/etc/nginx (or in /opt/homebrew/etc/nginx for Macs with Apple Silicon). Step 1 Installing MariaDB As of this writing, Ubuntu 20.04’s default APT repositories include MariaDB version 10.3.

You can start the installation via the following command in your Terminal: brew install nginx Code language: Bash ( bash )

Since I was not satisfied with the performance of MAMP PRO and also used my local development environment mainly within the scope of localhost and not within multiple hosts, I decided to install a combination of nginx, MySQL and PHP via brew.īrew is a package manager, which allows to install many packages without a hassle.įollowing I show you the fast installation of the packages and their basic configuration on macOS.
