How to Install Apache2 Web Server on Linux Ubuntu Server

Опубликовано: 12 Ноябрь 2020
на канале: Linux Tech School
1,218
26

How to Install Apache2 Web Server on Linux Ubuntu Server

In this video I'll show you how install a Apache2 Web server on a Linux Ubuntu Server 20.04 LTS.

I'll demonstrate:

Apache2 Installation process
Apache2 folder structrure /etc/apache2/[configs,mods,sites]
Firewall configurations (ufw command)
Listening ports on server (ss command)
Apache2 service status, is-active, reload, restart (systemctl command)
A remote HTTP connection to server's default web page
Installing PHP language and libapache2-mod-php
Creation of a simple php web page for testing purposes
Checking phpinfo page, structure and environment variables
Creation of a non-standard virtualhost on port 10000
Activating the new Apache2 virtualhost (a2ensite command)
A remote HTTP connection to server's 10000 virtualhost web page

Check following websites for more information:

www.apache.org
www.virtualbox.org
www.ubuntu.com
www.php.net

I hope you enjoy this video. Please comment, press like ans subscribe my channel for mode videos.

Regards,
Rodrigo Matias