Installing LAMPP in ubuntu

  1. Open Accessories->Terminal.
  2. Type the command, sudo apt-get update && sudo apt-get -y install lamp-server^, this will install apache, mysql and php on the machine and it will start automatically on boot time.
  3. Also, you need to install the phpmyadmin to manage mysql database. To install phpmyadmin type the command, sudo apt-get install phpmyadmin
  4. Next, you also need to configure the apache. Type the command, gksudo gedit /etc/apache2/apache2.conf, this will open the apache2.conf file.
  5. Include the following command to the apache2.conf, Include /etc/phpmyadmin/apache.conf
  6. Lastly, restart the apache
  7. sudo /etc/init.d/apache2 restart

mysql data path – /var/lib/mysql/
web root directory – /var/www/

phpMyAdmin

, ,

  1. No comments yet.
(will not be published)
Submit Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Subscribe to comments feed
  1. No trackbacks yet.

SetPageWidth