Created
April 20, 2020 07:06
-
-
Save loujaybee/79fe045b8b30155ae0509685039911bb to your computer and use it in GitHub Desktop.
Basic Apache Web Server For Use In AWS User Data Script
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 | |
sudo su | |
yum -y install httpd | |
echo "<p> My Instance! </p>" >> /var/www/html/index.html | |
sudo systemctl enable httpd | |
sudo systemctl start httpd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.call-center-tunaiku.com