Install Apache2
Install Apache2 web server.
$ sudo apt install apache2
$ sudo systemctl start apache2
$ sudo systemctl enable apache2
Configure Firewall
$ sudo ufw http
Check the configuration
Visit
http://192.168.10.108
from a Web browser. The IP address should be modified to yours.
Enable User Directory
$ sudo a2enmod userdir
Make User Directory
$ mkdir /home/user/public_html
$ chmod o+rw /home/user/public_html
Last Updated on July 8, 2021 by lama-admin
Leave a Reply