Sanitarium by Zac Dreyer

Quick and easy way to install LAMP on Ubuntu 13.10

Posted by zac on Monday, February 10th, 2014

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  tasksel

And select LAMP Server:

During the installation you will be asked to insert the mysql root password

3. Now check if php is working

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

4. Install phpMyAdmin

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


Posted in: Featured, Linux.

Comments are closed.