Question

Adding LAMP stack to a droplet with Ubuntu

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.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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:

https://marketplace.digitalocean.com/apps/lamp

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

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04

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

Hope this helps! Let me know how it goes.

Regards, Alex