DEV Community

siddharth shukla
siddharth shukla

Posted on

How to install a LAMP Web Server with the Amazon Linux AMI

Step 1: Prepare the LAMP Server

A) Connect with instance

Command: chmod 400 pemfile_name.pem
ssh -i "pemfile_name.pem" ec2-user@public_dns
Example: ssh -i "pemfile_name.pem" ec2-user@ec2-13-233-174-233.ap-south-1.compute.amazonaws.com

B) Now check software is updated

Command: sudo yum update -y

Read More: https://realprogrammer.in/how-to-install-a-lamp-web-server-with-the-amazon-linux-ami/

Top comments (0)