I'm having some problems installing packages off the cd. The ubuntu server is installed in a small local network with a dns but no internet connection. When I try installing a package, i.e. lamp or vsftpd it just tries to resolve the name of the update server. After some tries it gives up instead of checking the CD. I've added the CD using
sudo apt-cdrom add. I've also tried using tasksel, which opens aptitude, without any luck.
How do I install packages (lamp, ssh, ftp, dhcp, samba) off the CD without internet connection?
EDIT: Since this was unclear: We're given a server with ubuntu server installed and we're supposed to install lamp, ssh, ftp, dhcp and samba on it. To ensure we aren't cheating (asking the internet for help during the contest) we are limited to using only the cd.