How to Install LEMP Stack (Nginx, MariaDB, PHP7.1) on Ubuntu 17.10
This tutorial is going to show you how to install Nginx, MariaDB and PHP7.1 (LEMP) on Ubuntu 17.10. You can follow this tutorial on a VPS (Virtual Private Server) or on a local Ubuntu 17.10 computer. PHP7.1 is included in Ubuntu 17.10 and has a minor performance boost over PHP7.0.
Step 1: Update Software Packages
Before we install the LEMP stack, it’s a good idea to update repository and software packages. Run the following command on your Ubuntu 17.10 OS.
Read full tutorial here: https://www.linuxbabe.com/ubuntu/install-lemp-nginx-mariadb-php7-1-ubuntu-17-10