Install a LAMP Stack on a Linux VM in Azure

Leave a comment
Azure / Database / Web


LAMP stack is a group of open source software used to get web servers up and running. A LAMP stack consists of the following different elements:  Linux – Operating System,  Apache – Webserver, MySQL – Database Server,  and PHP – Programming language(or at times Perl or Python).


For this tutorial you will require: An Microsoft Azure account and a SSH tool of your choice like PuTTY.

Setting up a Linux  Virtual Machine on Azure

  1. Sign into / sign up for a Microsoft Azure account
  2. Click on Virtual Machines
  3. Click New on the bottom left corner of the page
  4. Select from Gallery
  5. Select Ubuntu
  6. Give your VM a name and provide a user name password
  7. Configure your VM
    • Select your region
    • Add HTTP endpoint
  8. Click next and wait for your VM to be provisioned.

Shazam ! In about 10 minutes or less you have a Linux  VM ready to start web application development up and running.

Shazam! Linux VM on Azure

Disclaimer: It took me exactly 11 minutes to setup this up running including to taking all the screenshots.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>