Home Linux HTML/CSS PHP React VR Blog T-Shirt Shop PHP Fiddle

Installing LAMP

Watch the video tutorial for this lesson:

Intall LAMP on Ubuntu

If you find my tutorials helpful, please consider donating to support my free web development resources.

The more money I raise, the more content I can produce.

Thank you,
Commander Candy


Check out my blog:

Coding Commanders Blog

Learn PHP:

Intro to PHP

Linux/LampInstall Apache + MySQL + PHP

In this lesson, you will learn how to install Apache, MySQL and PHP. Visit Install & Setup Ubuntu for a tutorial on installing Ubuntu Server (a Linux OS) on Oracle VirtualBox.

Install LAMP

To install, type the following command:

sudo apt-get install lamp-server^

The above command will install Apache, MySQL and PHP, along with any dependencies.


Sudo is used to do certain administrative tasks. It is like when you install something on Windows and a window pops up asking if you are sure you want to install. Linux allows you to just type sudo and it will assume you are sure.


apt (Advanced Packaging Tool) is the software that deals with software packages. apt-get allows you to work with those packages. You will use it for things like installing and updating software.


Cisco Learning Network Store

Indicates that you are installing a set of applications

Watch the Coding Commanders LAMP Animation:

Coding Commanders: Episode 1

Color Selector



Learn React VR:

Intro to React VR

Follow Coding Commanders on:






Back to Previous Lesson | Continue to Next Lesson