This article covers full step by step instruction 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.
- 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.
Hope, I am able to contribute something to your knowledge.
Please Like, Share and Comment – You feedback is very important to improve me.
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
Check out another AWS EC2 article How To Launch AWS EC2 Instance