Tutorial: How to Install and Configure Apache2 on Linux Part 1 of 2

Published: 01 March 2016
on channel: The Expat Professor
559
4

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


On this page of the site you can watch the video online Tutorial: How to Install and Configure Apache2 on Linux Part 1 of 2 with a duration of hours minute second in good quality, which was uploaded by the user The Expat Professor 01 March 2016, share the link with friends and acquaintances, this video has already been watched 559 times on youtube and it was liked by 4 viewers. Enjoy your viewing!