Quick and easy way to install LAMP on Ubuntu 13.10
LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform that uses Linux as operating system, Apache as the Web server, MySQL as the relational database management system and PHP as the object-oriented scripting language. This guide will help you get it installed pretty quickly on Ubuntu 13.10, it may work on other distro’s aswell.
1. First, we need to install a handy little tool called tasksel.
To do this open terminal and type the following command:
sudo apt-get install tasksel
2. Now to install LAMP, type the taskel command in terminal
sudo nano /var/www/info.php
save and exit.
Now open browser and cha browser PHP is functioning.
http://ip/info.php or http://localhost/info.php
sudo apt-get install phpmyadmin
Follow the prompts and questions, a number of password requests will popup, until the installation is complete. Then test phpMyAdmin
http://ip/phpmyadmin or http://localhost/phpmyadmin