Created
October 24, 2017 12:29
-
-
Save mlabouardy/06f64f33b48d5b7f6812b090fddcd8ed to your computer and use it in GitHub Desktop.
Install apache server on EC2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum install -y httpd | |
service httpd start | |
chkconfig httpd on | |
echo “<html><h2>Hello from mlabouardy</h2></html>” > /var/www/html/index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment