Posts Tagged ‘Install Lampp’
Installing LAMPP in ubuntu
Posted by: admin in Installation, Ubuntu on May 25th, 2009
- Open Accessories->Terminal.
- 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.
- Also, you need to install the phpmyadmin to manage mysql database. To install phpmyadmin type the command, sudo apt-get install phpmyadmin
- Next, you also need to configure the apache. Type the command, gksudo gedit /etc/apache2/apache2.conf, this will open the apache2.conf file.
- Include the following command to the apache2.conf, Include /etc/phpmyadmin/apache.conf
- Lastly, restart the apache
- sudo /etc/init.d/apache2 restart
mysql data path – /var/lib/mysql/
web root directory – /var/www/