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

Опубликовано: 08 Октябрь 2024
на канале: 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