BeagleBone web server?

Hi, I have a simple question re. beaglebone- I currently run my web
site on a low-power pc using ubuntu 10.04lts.

I would like to move it over to a beaglebone for the smaller footprint
& lower power- is this do-able without too much hacking? I'm not a
linux guru by any stretch of the imagination, but I managed to make my
existing web site work on the server version of ubuntu without too
much drama, hopefully beaglebone will be the same?

Any thoughts, suggestions, ideas are welcome.

Thanks, Ken.

Are your running Apache or Nginx web server at the moment?
If Nginx, it should run ok on BBone, but Apache may have quite a bit
of performance trouble, thought it will run (provided you have managed
to install it).

Hope this helps,

Thanks for the comments Ilya, I am currently running apache2, no particular preference, it was just what was in the ubuntu distro I used. I have just had a look at Nginx, it looks ok, especially the configuration shown on this site

Quote from the site- "The methodology behind our configuration - Trust No One"

That appeals to my paranoia!

I would like to move it over to a beaglebone for the smaller footprint
& lower power- is this do-able without too much hacking?
Any thoughts, suggestions, ideas are welcome.

I haven’t tried it on beagle bone yet, but I use lighttpd on all my embedded systems. it works very well.

Hi Ken,

How did you go with your project?
i am interested as I am in a similar position.
Do you know what is the web server running on Angstrom distribution
and how to reconfigure it?


There's apache2, lighttpd, cherokee, boa, busybox, nodejs, python-coherence and much more webservers available in angstrom

As a point of reference, I run Debian 6 armel on my BeagleBone and it serves up a Ruby on Rails app with Apache2 and Phusion Passenger backed by SQLite without much issue. Currently my database is living on the SD card, but most page loads perform database operations and rendering in under 100 ms. Database operations where lots of tables are changed sometimes are a bit slower, in the 200-300 ms range with peaks to 700 ms, but rarely. More optimization on my part with regards to the file system (ext3 now, which is not ideal, currently in process of moving to ext4 with some optimizations to map better to my SD cards) will speed the database up. Regardless, on page loads where data is pulled from the database, Rails' rendering usually takes longer than the database operations.

Granted, my exact configuration will be different from yours, but Apache2 is plenty fast for low volume web serving on a Bone. My Rails app takes at least an order of magnitude more time to do database operations and rendering than Apache2 does to receive requests and send static pages. If you're serving static pages, the Bone with Apache2 is more than capable for a low volume site (ie: less than 50 requests per second). For dynamic content backed by a database on SD card, a Bone should be able to handle 10 requests a second without too much optimization.

When Ubuntu 12.04 LTS comes out, there will be a server version for armhf, if you're wanting to stick with Ubuntu. For now, you can get the beta-1 image for omap [1]. You may need a different kernel, I'm not sure if the one included with the beta will work on a Bone, it should work on an xM.



G'day Jan- I haven't started the project just yet, I'm still waiting delivery of my BeagleBone. There's rather a lot happening around here at the moment so I won't get a chance to look at the project until sometime after Easter. I will post to the list as I progress with it.