How to install Lamp On LinuxMint 13

Question:  How to install   Lamp  in Mint 13?

Answer:

First   update  your machine

apt-get update & apt-get upgrade

You need a general  package to  simplify  your  work  (tasksel)

sudo apt-get install tasksel

Now  run the  tasksel  and  select the LAMP server group install

 sudo tasksel

You will be  prompt to insert the  mysql root password

Test  apache :

open browser with http://host or  http://Ip

Test mysql

pirat9-VirtualBox ~ # mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 51
Server version: 5.5.22-0ubuntu1 (Ubuntu)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Install phpmyadmin and chose apache for configuration ::

sudo apt-get install  phpmyadmin

now  open phpmyadmin page  :

http://ip/phpmyadmin or http://host/phpmyadmin

enjoy