Created
May 5, 2022 02:31
-
-
Save devenes/550d132bc9a14e35d7c9d42a18162c9f to your computer and use it in GitHub Desktop.
Sample user data for Apache server
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 update -y | |
yum install -y httpd | |
yum install -y wget | |
cd /var/www/html | |
wget https://raw.githubusercontent.com/awsdevopsteam/route-53/master/N.virginia_2/index.html | |
wget https://raw.githubusercontent.com/awsdevopsteam/route-53/master/N.virginia_2/N.Virginiatwo.jpg | |
systemctl start httpd | |
systemctl enable httpd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment