how to set apache localhost as localhost ubuntu code example Example: ubuntu install apache2 sudo apt-get install apache2