How  to install Lamp  On LinuxMint 13

How to install Lamp On LinuxMint 13

Question:  How to install   Lamp  in Mint 13?


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
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

Install phpmyadmin and chose apache for configuration ::

sudo apt-get install  phpmyadmin

now  open phpmyadmin page  :

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


  • Hasan Alibegić

    Any idea how to install memcached on lamp? Thanks!

  • melkham

    we  will do this  in another  article

  • Hasan Alibegić

    Can’t Wait :)

  • melkham

    24h :) .  just  give me  sometime to  back home 

  • TextFumbel

    apt-get upgarde ??? on the top off the page .. this is it:>> apt-get upgrade

  • kineticshampoo

    Terrific article, very simple to follow instructions and got me up and running in no time. Thanks a bunch for this!

  • Dairita1

    Gracias me sirvió de mucho… 

  • GregRickson

    Should be apt-get update & apt-get upgrade NOT apt-get update & apt-get upgarde

  • GregRickson
  • Gravy

    Or if you would like to do it all in one shot. just use the command
    sudo apt-get install lamp-server^  (Yes you need the caret^ at the end. 

  • Carsten

    If you get Not Found when trying to start phpmyadmin, then this will fix it ..

    sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf

  • aussiepete

    top work thank you :)