How To Install Linux, Apache, MySQL, PHP (LAMP) Server on Ubuntu

| Last Updated: | In: Freebies, Mysql

LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. As a solution stack, LAMP is suitable for building dynamic web sites and web applications. The LAMP model has since been adapted to other componentry, though typically consisting of free and open-source software.


Step One— Update

Step Two— Install lamp stack

….and then install the LAMP stack using bellow command:

During the installation of LAMP server you will be asked to insert the mysql root password.


Restart your apache using bellow command :

Step Three— Insatll phpmyadmin

phpmyAdmin is a open souce mysql toolsto handle the administration for mysql databases using web browser. It is written in php programming language, by using this tool you can perform various tasks like creating, modifying, deleting database, tables, rows from table.

Install the phpmyadmin using bellow command:

If you get a 404 error upon visiting http://localhost/phpmyadmin: You will need to configure apache2.conf to work with Phpmyadmin.

Include the following line at the bottom of the file, save and quit.

Tags: , , , ,

About: Prem Tiwari

Prem Tiwari is the founder of and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby.

You may also like:

Get Free Access of 450+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Free Guide: Learn how to implement security guideline in your WordPress site...


Free WordPress Setup Service

Free WordPress Setup

Want to Setup WordPress Blog Setup? I will help you in the setup of your WordPress blog.

Click Here

Discount Coupons

Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...