In this article we will set up our own LEMP stack inside a virtual machine, using VMware Player. These instructions will also be useful if you’re not using a virtual machine: just skip the first steps.
A LAMP stack (Linux/Apache/MySQL/PHP) is a common back-end webhosting package. As the abbreviation suggests, it uses a distribution of Linux as the operating system, Apache as the webserver, MySQL as a database and PHP as the back-end programming language for dynamic websites. When I first started learning how to program for the web in PHP, I needed an environment to practice, explore and develop in. This article touches on easy-to-set-up solutions for this: plug-and-play WAMP/XAMP software, virtual machines and Vagrant.