apt install -y httpd code example Example 1: configure apache in ubuntu service apache2 reload Example 2: install apache ubuntu ServerName gci.example.com