March 16, 2012 in Services

how to install LAMP on Ubuntu

What is LAMP?

LAMP is stand for Linux, Apache, Mysql, and PhP. Lamp is need it by the most popular cms like Drupal, Joomla, WordPress, etc. In order to install successfully one of those cms you have to install LAMP first.

How to install Lamp.

There is no specific way to install lamp. You can install one component at a time or you can use tasksel to install all of them at once. In order to install every component manually you have to follow the instructions on how to install every single one by clicking the following links: Apache, MySQL, PhP.

But here i will saw you an easier way to that, using tasksel!

First of all you have to install tasksel. open a terminal and type:

sudo apt-get update

sudo apt-get install tasksel

ok now you have install tasksel and you can access it by typing:

sudo tasksel

a screen like the following will appear :

navigate with up and down arrow keys and select with spacebar. The mouse is not working here. Go on and select “LAMP Server” then click “ok”. You almost done. After a while an other screen will appear asking you for a password. This is the password for root user of MySQL. Use something that you can remember because you will need that if you want to have access to mysql.

Retype your password and then you are done!

Congratulation! Now you have your own LAMP server