upgrade to apache2 version on ubuntu 20.04 code example Example: how to restart apache2 in ubuntu 20.04 $ sudo systemctl restart apache2