Installing and Configuring LAMP/LEMP Stack on Debian 8 Jessie

One of the most common reasons to set up a Linux system is for the purposes of hosting a website(s). According to NetCraft.com’s May 2015 survey of the 1 million busiest websites in the world, roughly 71% of them run on Apache or Nginx.

This tutorial will walk through the basics of installing and configuring a Linux server (specifically Debian 8 Jessie) to function as a LAMP/LEMP server.