Created
March 6, 2022 01:15
-
-
Save ealexisaraujo/e88a705e2db2aff4ae46dca0971d0f0e to your computer and use it in GitHub Desktop.
This file contains 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 | |
# Use this for your user data (script from top to bottom) | |
# install httpd (Linux 2 version) | |
yum update -y | |
yum install -y httpd | |
systemctl start httpd | |
systemctl enable httpd | |
echo "<h1>Hello World from $(hostname -f)</h1>" > /var/www/html/index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment