If you're new to Ubuntu and wanna start some coding, then you will need a localhost. LAMP stands for Linux, Apache, MySQL, PHP. It is a web stack used for hosting Web Content.
In this tutorial, You will be guided step by step to install LAMP.
Now you will need to install the Metapackage Apache2. You can search for it in Ubuntu's Software center or just run this quick command:
sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install php5 libapache2-mod-php5
sudo /etc/init.d/apache2 restart
You should see a page saying that it is working successfully. If you got the message, Congratulations, you now have LAMP on your Ubuntu Computer!
If you have any question, please write us a message on our page: Nerdy Lab