I am using Google Cloud Platform to test out ModSecurity and I am using a tutorial to launch it. However, I need to restart Apache every once in a while. I'm using Ubuntu 18.04. I write sudo systemctl restart apache2
, but an error comes back and it says Failed to restart apache2.service: Unit apache2.service not found
. What should I do?
Did you install apache2 first ?
sudo apt install apache2