Posts Tagged ‘Install Lampp’

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

, ,

No Comments



SetPageWidth