Tutorial: How to Install and Configure Apache2 on Linux Part 1 of 2
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:
https://www.youtube.com/PaulWPoteete
https://www.facebook.com/PaulWPoteete
Tweets by PaulWPoteete
https://www.linkedin.com/in/PaulWPoteete
https://plus.google.com/+PaulWPoteete
Thank you for visiting,
Paul
#linux, #unix, #tutorial, #administration, #engineering, #beginner, #expert, #advanced, #intermediate, #training
by Paul W. Poteete
linux web server