How To Setup a LAMP Server (Linux, Apache, MySQL, PHP) on Ubuntu Server 14.04

Today we are going to setup a web server using the ever so popular LAMP Stack. This tutorial assumes you:

  1. Own a VPS or Dedicated Server (you can get a cheap one here [its only $5])
  2. Have configured ssh and are currently logged in. (If not, learn how here)
  3. Optional: Have secured your vps from hackers

Step 1 – Install LAMP  xD

First update and install tasksel

apt-get update && apt-get install tasksel

Next… and Finally we install lamp

tasksel install lamp-server


Pretty simple right? Normally people go through the trouble in installing PHP, MySQL and Apache manually but why? When ubuntu already knows how to do it all 🙂


You may also like...

Leave a Reply