Friday, 3 February 2012

How to install LAMP or Apache tomcat server in Ubuntu by single command

If you want to install LAMP or apache tomcat server in any version of Ubuntu than follow below steps
1.Open terminal and Type the command : (PRESS ALT+CTLR+T)

sudo apt-get install tasksel

2.Now to install LAMP, type the taskel command in terminal :

sudo  tasksel

And select LAMP Server:


3.During the installation  you  will be  asked  to insert the  mysql root  password

4.To full manage  your  lamp Server database, install  phpmyadmin

sudo  apt-get  install  phpmyadmin

5.To login  to phpmyadmin, open browser and type :

http://ip/phpmyadmin   or http://localhost/phpmyadmin