Difficulty: Beginner
Estimated Time: 10 minutes

This tutorial will show how to install a bare-minimum LAMP stack using a bash shell in Ubuntu. A LAMP stack is not restricted to bash or Ubuntu, so feel free to use whichever distribution and shell fits your needs.

In this tutorial, we will also be using Ubuntu's native "apt" package manager.

Check that all necessary services are running by entering: sudo service --status-all | grep +

You can view your default homepage by visiting (your.public.ip)/index.html You can get your public ip by typing:: curl -s checkip.dyndns.org

How to Setup a Basic LAMP Stack.

Step 1 of 4

Update and Upgrade your system

First, run an update of available software

sudo apt update

Next, upgrade installed packages to current versions

sudo apt upgrade -y