LAMP is an acronym for a stack of four pieces of free and open-source software that are commonly used to build a general purpose web server:
- Apache HTTP server
Please have a look at the official Ubuntu Server Guide for the release you are using (which can usually be found at https://help.ubuntu.com/x/serverguide/index.html where x is replaced by the version number of Ubuntu, e.g., x=15.04 for Vivid). You can find the guide for the latest released LTS version here. Detailed explanations may be found in the Web Servers chapter and examples in the LAMP Applications chapter.
The simplest way of installing a basic LAMP stack is usually by running the following two commands from the terminal (Ctrl+Alt+T should open a new terminal):
sudo apt-get install tasksel sudo tasksel install lamp-server