Installing LAMP stack

Installing LAMP stack

LAMP Stack (also called Web Stack) is suitable for building dynamic web sites and web applications.

The LAMP software stack is composed of

Acr.ExpansionSoftware type
PurposeAlternatives
LLinuxOperating System
AApacheHTTP Server
Web ServerNgnix
MMySQLRDBMSDatabaseMariaDB and MongoDB
PPHPProgramming Language
To serve dynamic web content via CGI scriptingPerl and Python

Stack is a container of components(objects) which can be inserted/removed. A software stack(or solution stack) is a set of components required to make a complete platform.

alt

Each component provides a layer for their compatibility, and bundling them makes them easier to download and deploy all at once.

Architechture
alt

The modularity of a LAMP stack may vary, but this particular software combination has become popular because it is entirely free and open-source software.

This means that each component can be interchanged and adapted without overt vendor lock-in, and that the complete software stack is available free of cost. The components of the LAMP stack are present in the software repositories of most Linux distributions, providing a LAMP stack with some automation

Installation

sudo apt-get install synaptic apache2 apache2-mpm-itk php5 php5-curl php5-dev php5-intl php5-mcrypt php5-mysql php5-sqlite php5-xdebug mysql-server phpmyadmin git ssh

LAMP variants