A LAMP Stack is a set of open-source software that can be used to create websites and web applications. LAMP is an acronym, and these stackstypically consist of the Linux operating system, the Apache HTTP Server, the MySQL relational database management system, and the PHP programming language.

To install LAMP on Computer follow below steps:

Step 1: Update your system

sudo apt-get update

Step 2: Install Mysql

sudo apt-get install mysql-server mysql-client libmysqlclient-dev

Step 3: Install Apache server

sudo apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert

Step 4: Install PHP (php7.0 latest version of PHP)

sudo apt-get install libapache2-mod-php7.0 php7.0 php7.0-common php7.0-curl php7.0-dev php7.0-gd php-pear php-imagick php7.0-mcrypt php7.0-mysql php7.0-ps php7.0-pspell php7.0-recode php7.0-xsl

Step 5: Install Phpmyadmin(for database)

sudo apt-get install phpmyadmin

Categories: PHP

Sahil Ahlawat

I am a Sr. Web Developer passionate about blogging and teaching. When I am not coding or writing blogs, I prefer traveling (Which I like most). I am also doing a bit or research on Indian Startups now a days.

Leave a Reply

Your email address will not be published. Required fields are marked *