Skip to content

Instantly share code, notes, and snippets.

@bjethwan
Created June 4, 2017 13:11
Show Gist options
  • Save bjethwan/66d9bd7b2e164c4527801664f9256b43 to your computer and use it in GitHub Desktop.
Save bjethwan/66d9bd7b2e164c4527801664f9256b43 to your computer and use it in GitHub Desktop.
yum commands for setting up ec2 instances
yum update -y # -y options is to auto accept the prompts
yum install httpd -y # This is to install apache server
yum install git -y # This is to install git for cloning repos
service httpd start # This is to start the apache server
service httpd status # This is to check the status of apache server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment