Web server

Has anyone tried making a web server with a BBB? Would lighttpd work ok for a small server?


its what i use on debian and it works perfect

I use the full apache web server on mine and it runs really well. Did some experimenting with running a Wordpress from it. Didn’t do so bad.

I use Hiawatha, lightweight and secure.

It already comes with a web-server, Node.js, do some research before you try and replace it with Apache and PHP. Node.js out performs Apache and PHP by quite a big margin.

I run apache2 with php (compiled with mysql support) as well as tomcat, so yes - it is definitely possible and the board is enough powerful
for small webserver - just as used for industrial applications,


W dniu piątek, 2 sierpnia 2013 02:55:32 UTC+2 użytkownik Jim Hodgers napisał:

I agree with Simon; Node.js works great. I wrote up a tutorial and sample code for a web server, using Node.js, BoneScript and Socket.IO: https://github.com/lgxlogic/BoneScript-SocketIO

It may be more than you need, but it gives you an idea of what is possible.

Roland Groeneveld

I use lighttpd and it works well. Here’s a short blog about getting working (here).



I think what you use for a web server depends on how much capability you need.

If you just want to serve up web pages, the node.js server that already comes with BBB will work fine. Just replace the index.html at /usr/share/bone101/ and off you go. Alternatively, you can change the default server path in /usr/lib/node_modules/bonescript/server.js.

lighttpd will give you more features and configuration options if you need it.