Adding LAMP stack to a droplet with Ubuntu

Posted June 2, 2020 2.4k views
LAMP Stack

I have created a droplet with Ubuntu - how do I add LAMP stack? Do I have to create a new droplet where I add Ubuntu and LAMP at the same time (did not find the options obvious) or I can add the package on droplet with Ubuntu already installed (preferred) and may I know how to? Trying to avoid manual install of each of LAMP.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello, @db95054

What you can do is to spin a new droplet using the marketplace one-click install for the LAMP stack. You can find more info here:

The other option will be to install it manually by following our tutorials for Ubuntu 18 or 20

The process is really simple and you basically need to follow the listed steps.

Hope this helps! Let me know how it goes.


by Mark Drake
by Erika Heidi
A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This stack typically consists of the Linux operating system, the Apache web server, a MySQL database, and PHP, a dynamic content processor. This tutorial serves as a guide for installing these components on an Ubuntu 18.04 server.