Skip to content

Instantly share code, notes, and snippets.

@devlinjunker
Last active November 8, 2020 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devlinjunker/a89f106f6c79762eab6b4d980c06f716 to your computer and use it in GitHub Desktop.
Save devlinjunker/a89f106f6c79762eab6b4d980c06f716 to your computer and use it in GitHub Desktop.
Apache Web Server Setup
Apache Web Server Setup

Installing apache on AWS

Links:

ssh to AWS: ssh ec2-user@<ip_addr> -i <path to private key file>

  • sudo yum update to update packages on server
  • sudo yum install httpd to install httpd server
  • service httpd start to start the server

Place files in /var/www/html/ to serve them (or update configuration file to decide where you want the server to serve)
(Needed to update permissions of /var/www/html/ so we could add files)

Other TODOs:

  • Set up Elastic IP
  • Set up Domain Name and associate domain with Elastic IP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment