Skip to content

Instantly share code, notes, and snippets.

@mikepfeiffer
Created January 26, 2019 19:43
Show Gist options
  • Save mikepfeiffer/f7560c9c59587ebfba86b88967714d49 to your computer and use it in GitHub Desktop.
Save mikepfeiffer/f7560c9c59587ebfba86b88967714d49 to your computer and use it in GitHub Desktop.
EC2 Bootstrap Script for Apache
#!/bin/bash
yum update -y
yum install -y httpd
echo '<h1>Hello World</h1>' > /var/www/html/index.html
systemctl start httpd
systemctl enable httpd
@vnkiran
Copy link

vnkiran commented Sep 7, 2021

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment