/ Ubuntu

How to install and configure LAMP stack on Ubuntu 14.04.3


The comonly used LAMP stack is the building block necessary for most web applications to run on a web server. LAMP stands fo Linux, Apache, MSQL, and PHP which are the main services required to run web applications like Wordpress, Joomla, Drupal and many of today's dynamic web applications that require constantly changing data to be relayed to the user.


Step 1

Connect to your server as the admin user via SSH.

ssh [email protected]

Step 2

Allways update your package sources so that you always install the latest version.

sudo apt-get update

Step 3

We will be using Tasksel. Tasksel is an easy way to install some of the basic Ubuntu components.

sudo tasksel

Select LAMP server from the list and click ok this will install Apache, MYSQL Server and PHP.


Enter the Mysql password for the root user. Note: For security make this one different than your server's password, and try not to use this user in any application that requires a database to store and pull data from.


That's it, the server is ready, by default apache comes with a test page so we can test the server.


You should see the default page that is located on /var/www/html

It Works

10$ off on me with This Link, if you don't have your own server visit DigitalOcean servers starting at 5$ a month
10$ off on me with

Jaco Toledo

Jaco Toledo

Hi, I am a System Administrator that Lives in Jacksonville Florida and loves to experiment with anything IT, my favorite Linux Distro is Ubuntu I Love its simplicity.

Read More
How to install and configure LAMP stack on Ubuntu 14.04.3
Share this

Subscribe to UbuntuBoss: Easy Ubuntu Tutorials | How to for Ubuntu Linux