Install Linux, Nginx, MySQL, PHP (LEMP stack) in Ubuntu 16.04

So you want to install LEMP in your server. In my experience, when I want to set up server for my web app I always install LEMP stack. Sometimes it will consume a lot of your time.

So I created a simple script that we can run to install all packages required for our server.

Login to your Ubuntu server using SSH

Download the file and make it runnable

https://gist.github.com/mannysoft/e4b54662b3aec5c0b1b88be52177ab68

Make the file runnable

chmod +x install.sh

Run the script

./install.sh