Setting up a webserver in debian (lighttpd)

713 views
Skip to first unread message

Immutant

unread,
Jun 15, 2014, 9:31:00 AM6/15/14
to beagl...@googlegroups.com

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!

Robert Nelson

unread,
Jun 15, 2014, 12:28:47 PM6/15/14
to Beagle Board
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,

--
Robert Nelson
http://www.rcn-ee.com/
Message has been deleted

Immutant

unread,
Jun 15, 2014, 9:15:57 PM6/15/14
to beagl...@googlegroups.com
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.

p.fer...@gmail.com

unread,
Jun 21, 2014, 2:11:13 AM6/21/14
to beagl...@googlegroups.com
/var/www/index.html
<!DOCTYPE html>
<html>
  <head>
    <title>Apache</title>
  </head>
  <body>
Hello World from Apache root at /var/www
  </body>
</html>

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

Ryan P.

unread,
Jun 30, 2014, 3:17:01 PM6/30/14
to beagl...@googlegroups.com


On Sunday, June 15, 2014 9:15:57 PM UTC-4, Immutant wrote:
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.


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.

Jesse Cobra

unread,
Jun 30, 2014, 3:30:59 PM6/30/14
to beagl...@googlegroups.com
These notes are old (Angstrom old) but perhaps it is of use to anyone getting lighttpd working...

####

echo DISABLE UNUSED SERVICES ; date


systemctl disable cloud9.service

systemctl disable bonescript-autorun.service

systemctl disable bonescript.service

systemctl disable bonescript.socket

systemctl disable mpd.service

systemctl disable graphical.target

systemctl disable gdm.service

systemctl disable ge...@tty1.service


####

echo SETUP LIGHTTPD DEPENDANCY PCRE ; date


wget -P /tmp http://dl.dropboxusercontent.com/u/82765462/backfill/pcre-8.33.tar

cd /tmp

tar -xvf /tmp/pcre-8.33.tar

cd /tmp/pcre-8.33/

./configure

make install


####

echo SETUP LIGHTTPD ; date


wget -P /etc/ http://dl.dropboxusercontent.com/u/82765462/backfill/lighttpd.conf

opkg update

opkg install lighttpd lighttpd-module-fastcgi

wget -P /tmp http://dl.dropboxusercontent.com/u/82765462/backfill/lighttpd-1.4.33.tar

cd /tmp

tar -xvf /tmp/lighttpd-1.4.33.tar

cd /tmp/lighttpd-1.4.33/

./configure

make install



--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Immutant

unread,
Jul 2, 2014, 1:03:04 AM7/2/14
to beagl...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages