How to Install LAMP stack on Ubuntu

How to Install LAMP stack on Ubuntu

Installing the popular open-source software on your computer

Image for post

A LAMP Stack is a set of open-source software that can be used to create websites and web applications. LAMP is an acronym: these stacks typically 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 your computer follow these 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-npm-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-xsl

Step 5: Install Phpmyadmin(for database)

sudo apt-get install phpmyadmin


No Responses

Write a response