installing apache 2 code example Example 1: ubuntu install apache2 sudo apt-get install apache2 Example 2: install apache ubuntu ServerName gci.example.com