How to Install Apache HTTP Server on Ubuntu 20.04 LTS



How to Install Apache HTTP Server on Ubuntu 20.04 LTS

How to Install Apache HTTP Server on Ubuntu 20.04 LTS

The basic setup process of installing and configuring Apache is very easy, in this video we will learn how to install Apache HTTP Web Server and configure the firewall.

Commands:
sudo apt update
sudo apt install apache2
sudo systemctl status apache2
sudo ufw app list
sudo ufw allow apache
sudo ufw status
sudo systemctl status apache2
hostname -I
curl -4 icanhazip.com
sudo systemctl stop apache2
sudo systemctl start apache2
sudo systemctl restart apache2
sudo systemctl reload apache2
sudo systemctl disable apache2
sudo systemctl enable apache2

Chapters:
0:00 Intro
0:23 Installing apache
2:06 Configuring the firewall
2:41 Checking your web server
3:36 Managing the apache process
4:52 End screen

What you will learn:
1. Installing Apache
a. How to start updating the local package index to reflect the latest upstream change
b. How to install Apache2
c. How to check the status of Apache to ensure it is active and running
2. Configuring the Firewall
a. How to change the firewall settings to allow outside access to the default web ports
b. How to List the UFW application profiles
c. How to allow traffic on port 80
d. How To verify ufw status
e. How to provide a list of allowed HTTP traffic
3. Checking your Web Server
a. How to use the systemd init command to verify the status
b. How to use your IP address to browse the default Apache landing page
c. How to verify that the program is working properly
d. How to retrieve your IP address in command line
e. How to use the Icanhazip tool to obtain your public IP address from another internet site
f. How to see the usual Apache Ubuntu page
4. Managing the Apache Process
a. How To stop your web server
b. How To start the webserver after it has been stopped
c. How To restart the service
d. How To reload the service without dropping the connection
e. How To disable Apache from starting automatically at server boot time
f. How To enable the service after disabling it to start at boot time
g. How to make Apache start automatically at the server boot time

Song: MusicbyAden – Dawn
Music provided by Vlog No Copyright Music.
Creative Commons – Attribution-ShareAlike 3.0 Unported
Video Link: https://youtu.be/7iPLlHfRs80

Song: INOSSI – Anywhere
Music provided by Vlog No Copyright Music.
Creative Commons – Attribution 3.0 Unported
Video Link: https://youtu.be/QNenkE0-BLI

#computerEverywhere

Comments are closed.