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

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

This tab will not be visible to users.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]