The LAMP stack is a set of open-source tools used for web application development. For a web application to work, it requires a web server, a server operating system, a database, and a programming language. Each software layer is necessary for creating a database-driven and dynamic website, and it is contained within the LAMP stack.
This step-by-step tutorial will show you how to install LAMP in Ubuntu and test your setup.
The LAMP Tutorial:
https://phoenixnap.com/kb/how-to-install-lamp-in-ubuntu