Created
June 15, 2017 08:21
-
-
Save juanmanuelarias/7e80003dffe705570cf026f5f9ae6ecf to your computer and use it in GitHub Desktop.
Bootstrap Script for 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 httpd -y | |
yum update -y | |
service httpd start | |
chkconfig httpd on | |
echo "<html><h1>Hello World!</h1></html>" > /var/www/html/index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment