Apache

Basic usage of apache2.

https://ubuntu.com/tutorials/install-and-configure-apache

Install

1
2
sudo apt update
sudo apt install apache2

Web Page

1
ls /var/www/html/index.html

Config

1
2
cd /etc/apache2/sites-available/
sudo cp 000-default.conf gci.conf

Start Server

1
2
sudo a2ensite gci.conf
service apache2 reload

Log

1
tail -f /var/log/apache2/error.log