Setting up a webserver in debian (lighttpd)

Hello, I am currently trying to set up my webserver on the BBB (Rev C) using the instructions on this website:

http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/11/20/beaglebone-web-server--setup

However, those are for another linux distro I think. For debian, I ran into errors even before the first step.

root@beaglebone:~# apt-get install lighttpd
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies:
lighttpd : Depends: libfam0
Depends: libterm-readline-perl-perl but it is not going to be installed
Recommends: spawn-fcgi but it is not going to be installed
network-manager-gnome : Depends: network-manager (>= 0.9.4) but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).

Could anyone give me some tips? I am a real beginner in linux systems.

Thanks!

Did you update your apt/dpkg cache first, the factory image's cache is
over a month old now..

sudo apt-get update ; sudo apt-get install xyz

Regards,

Yup, I did that too, but no luck either.
There doesn’t seem to be much documentation on the internet either for lighttpd on Debian, as most tutorials are still based on the old Rev B.

/var/www/index.html

Apache Hello World from Apache root at /var/www

Browse to ip:8080
Port 80 is used by the cloud.

I am also having a very similar issue. I am very new to Linux, and I just recently got Debian Wheezy onto my BBB, but I am unsure of how to follow this same guide now with the changes made.

These notes are old (Angstrom old) but perhaps it is of use to anyone getting lighttpd working…

Ok, I got my second BBB and it seems I was able to install lighttpd on it. The version on my newest BBB is 2014-04-23.
The version on my old BBB is 2014-03-27.
Thanks for the replies