aws ec2 apache server set up code example
Example 1: how to configure httpd in amazon ec2 instance
[ec2-user ~]$ sudo service httpd start
Example 2: how to configure httpd in amazon ec2 instance
[ec2-user ~]$ sudo usermod -a -G www ec2-user
[ec2-user ~]$ sudo service httpd start
[ec2-user ~]$ sudo usermod -a -G www ec2-user