How to Install LAMP on Ubuntu

LAMP is a collection of open source software that allows for dynamic web applications to be written. It stands for Linux (the operating system, which in this case, is Ubuntu), Apache (the web server), MySQL (the database), and PHP (the programming language).

Apache, MySQL and PHP could be installed separately, however, Ubuntu’s apt-get package manager allows you to set up a complete LAMP stack with one single apt-get command.

Installing a LAMP environment with apt-get is simple. SSH to your Pod as root, and run this:

root@mypod:~# sudo apt-get update
root@mypod:~# sudo apt-get install lamp-server^

Note that it is important to include the carrot (^) at the end of the above command.

You will be asked to optionally set a password for your MySQL server’s root user. We strongly recommend that you do this!

Matthew McCaffrey

Leave a Reply