Apache should be installed by default on Ubuntu but we can check if an updated version is available:
sudo apt update sudo apt upgrade apache2
The server can be managed using the following commands:
sudo service apache2 start sudo service apache2 stop sudo service apache2 restart
Apache is automatically configured on Ubuntu to restart itself each time the server reboots.