Sunday, 20 January 2013

Installation of Lamp Server on Ubuntu

             $sudo apt-get install lamp-server^

L- Linux
A- Apache
M- MySql
P-  PHP

Steps :

          1. During your installation set your mysql password
 
          2. Then install phpmyadmin using

               $sudo apt-get install phpmyadmin 

          select apache sever for the configuration  option


          3. then open and configure your apache2 to phpmyadmin as follows

          $sudo gedit /etc/apache2/apache2.conf  
               the above file is  (apache2 configuration file)

          4. Edit this file go at the last and add
            Include /etc/phpmyadmin/apache.conf
        to configure phpmyadmin with apache server
      
          5. Last step reload your webserver using
                $sudo /etc/init.d/apache2 reload

Yeah Finally your lamp server is up for running on your computer
Open your web browser and type localhost in the url bar and it will show up a message that your browser is installed and up for running

type localhost/phpmyadmin and from here you can modify your database directly. 

A nice tutorial showing the installation procedure
http://www.youtube.com/watch?v=5pYUZQmM8Bk





--Do yourself...

No comments:

Post a Comment