Skip to content

Instantly share code, notes, and snippets.

@tuffacton
Last active June 12, 2018 17:59
Show Gist options
  • Save tuffacton/81dd75ea87a2b8c510dd19eb7a3b9792 to your computer and use it in GitHub Desktop.
Save tuffacton/81dd75ea87a2b8c510dd19eb7a3b9792 to your computer and use it in GitHub Desktop.
HTTP with Apache

First install apache server:

$ yum install httpd -y

Then start the service

$ service httpd start

If you want to have the service start on reboot

$ chkconfig httpd on

Add whatever html or web content you want to /var/www/html and it will be served consistently!

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