6.1 : EC2 : EC2 Creation & Install Apache
#########################################################################
Internally it creates
IP address
Security group
-> Create Inbound rule in Security group for HTTP (since we are installing appache)
-> Use EC2 IP and login using Putty and install Appache (use ppk downloaded file to login)
ec2-user
sudo su -
yum install httpd
systemctl start httpd
systemctl status httpd
systemctl stop firewalld
vi /var/www/html/index.html
sudo su -
yum install httpd
systemctl start httpd
systemctl status httpd
systemctl stop firewalld
vi /var/www/html/index.html
#########################################################################


























No comments:
Post a Comment