This article covers full step by step instructions on How to Install LAMP Stack on AWS EC2 Instance in 4 Easy Steps.
This article will help you install an Apache web server with PHP and MariaDB (a community-developed fork of MySQL) support on your Amazon Linux 2 instance (sometimes called a LAMP web server or LAMP stack). You can use this server to host a static website or deploy a dynamic PHP application that reads and writes information to a database.
Four Simple Steps
- Step 1: Prepare the LAMP Server
- Step 2: Test Your LAMP Server
- Step 3: Secure the Database Server
- Step 4: (Optional) Install phpMyAdmin
Below is the link to the best source out there for installation of a LAMP stack on Amazon EC2 Instance. This is the official Amazon article.
This video is actually the steps followed in the above article.
I hope, I was able to contribute something to your knowledge.
If so, the do, Like, Share and Comment on this article – Your feedback is very important to improve me.
Once you have installed LAMP stack on AWS EC2 instance, follow the next article, which will tell you How to Launch AWS EC2 Instance in the most Efficient Way
Came across another beautiful article abt the same topic https://medium.com/@oreillyalan88/lamp-linux-apache-mysql-php-web-server-on-an-amazon-ec2-linux-instance-e37eb023e996