how to install apache on ubuntu digitalocean code example Example: how to install apache server in ubuntu sudo apt update sudo apt install apache2