In this video we have Ubuntu 14.04 preinstalled and I will guide you step by step installing LAMP. LAMP acronym stands for Linux, Apache, MySQL and PHP. This is simple installation nothing fancy. First we will install Apache second Mysql at the end PHP. I will list all commands in description. If you want to copy and paste to your terminal.

sudo apt-get update
sudo apt-get install apache2
ifconfig eth0 | grep inet
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
sudo mysql_install_db
sudo /usr/bin/mysql_secure_installation
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
sudo nano /etc/apache2/mods-enable/dir.conf
sudo nano /var/www/html/test.php
sudo service apache2 restart