Lab 12 - Apache Part 1 Apache Website Basics
© Paul W. Poteete, 2016
This video examines the absolute basics of how an index.html file works on a new installation of apache.
1) Get the webserver:
sudo apt-get install apache2
2) Know the important Configuration Directories
/etc/apache2
/etc/hosts
if you add your hostname in hosts, it will eliminate a servername error.
3) Know the website Directory
/var/www/html/
Anything that you add here will be visible on your webpage.
4) Know the service executable
/etc/init.d/apache2 restart
There are a couple of ways to start, stop, and restart services init.d is one.
I hope that this helps.
Please join me:
/ paulwpoteete
/ paulwpoteete
/ paulwpoteete
/ paulwpoteete
https://plus.google.com/+PaulWPoteete
/ paulwpoteete
Thank you for visiting,
Paul
#linux, #unix, #tutorial, #administration, #engineering, #beginner, #expert, #advanced, #intermediate, #training