raspbian restart apache code example Example 1: apache restart ubuntu sudo service apache2 restart Example 2: start apache service systemctl status apache2