configuring ubuntu web server code example Example 1: : sudo apt install apache2 sudo apt install apache2 Example 2: configure apache in ubuntu service apache2 reload