install apache web server on aws ec2 code example
Example 1: how to configure httpd in amazon ec2 instance
[ec2-user ~]$ sudo yum update -y
Example 2: how to configure httpd in amazon ec2 instance
[ec2-user ~]$ sudo chgrp -R www /var/www
[ec2-user ~]$ sudo yum update -y
[ec2-user ~]$ sudo chgrp -R www /var/www