Skip to content

Instantly share code, notes, and snippets.

@devlinjunker

devlinjunker/-apache

Last active Nov 8, 2020
Embed
What would you like to do?
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