LAMP stands for Linux, Apache, MySQL and PHP.

However, over the years LAMP refers to any deployment stack involving similar components such as the replacement of PHP with Python.

Additionally, the component does not necessarily have to start with the same letter such as MySQL can be easily replaced by PostgreSQL.

The following is a quick start guide to setup the LAMP environment using Linux Debian, such as Ubuntu.

WARNING: You must have root access in order to continue as Linux will prompt for a password.


To make sure that the latest package list is used run the following.