How To Install Lamp On Ubuntu

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.Learn about How to install Lamp on Ubuntu.

To install LAMP on Computer follow below steps:

how to install lamp on ubuntu

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

With help of these steps you can know how to install lamp on ubuntu.

Leave a Comment