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)
2.Now to install LAMP, type the taskel command in terminal :
And select LAMP Server:
FOR SELECTION/DESELECTION : USE SPACE BAR.
3.During the installation you will be asked to insert the mysql root password
4.To full manage your lamp Server database, install phpmyadmin
5.To login to phpmyadmin, open browser and type :
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:
FOR SELECTION/DESELECTION : USE SPACE BAR.
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