You need to edit your `/etc/apt/sources.list`. Simply open it in your text editor, and comment the lines referring to `cdrom` sources; for example:
deb cdrom:[Ubuntu 15.04 _Vivid Vervet_.../ vivid main restricted
Save and exit, then run `apt-get update` and `apt-get install apache2` again.
This happened by default since you installed from CD.