Install lamp stack with phpmyadmin on ubuntu amazon ec2. Here, we will show you step by step on how to install lamp stack with phpmyadmin on ubuntu 18.04 ec2 aws.
Follow the following easy steps to install lamp(Linux, apache 2, PHP and MySQL) and PHPMyAdmin on ubuntu 18.04 amazon(aws) ec2:
First of all, you need to launch aws ec2 instance. If you have already launch new ec2 instance, so you can move next step. Otherwise you need to read this tutorial “how to launch ec2 instance in aws step by step“ for launch aws ec2 instance.
In this step, you need to connect your aws ec2 instance from ssh terminal. If you are new to connect aws ec2 instance with windows, ubuntu and mac system. So you can read this tutorial “How to Connect to ec2 Instance From Putty and SSH Terminal” to connect your ec2 instance from ssh.
sudo apt update
sudo apt install apache2
sudo apt install apache2
sudo ufw allow 'Apache Full'
sudo systemctl status apache2
Finally, open your browser and type your AWS ec2 instance IP address. And, it will be looks like the Apache 2 page in the following picture:
install apache 2 web server on amazon ec2
#aws #mysql #php #ubuntu