How to install LAMP on AWS EC2 instance

Alfredo Barron
modulr
Published in
2 min readMar 17, 2022

--

We learning how to install LAMP (Linux, Apache, MySQL, PHP) on AWS EC2 instance with Ubuntu 20.04.3 LTS

Step 1. Connect to Instance

Connect to SSH with a key through your terminal, replace your key and IP/DNS.

$ ssh -i /your-key.pem ubuntu@192.168.0.1

Step 2. Install Apache

--

--