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

Make the file runnable

chmod +x

Run the script