This tutorial is the second part of the Deploy Laravel 5.4 App on LEMP Stack (DigitalOcean Guide) . Before I install LEMP stack, I am going to update the package installer. To do that run the following command in the terminal. It will grab the package list and update it. sudo apt-get update Install Nginx (Engine-X) Run the following command to install Nginx server. sudo apt-get install nginx After the installation, you should be able to visit your IP address and it will show the Nginx default page. Install MySQL Run the following command to install MySQL on your server. sudo apt-get install mysql-server The above command will start the MySQL installation process. You will have to enter 'Y' and proceed. After few steps you will see the following screen. Enter root password and proceed. Default MySQL installation is famous for insecure. MySQL has a helper script to secure the MySQL installation. To run the script type the following command i...