mongoDB 2.6 and Node.js 0.10.29 on Raspberry Pi

1 Comment

mongoDB on Raspberry PiA while back, I compiled mongoDB 2.1 for Raspberry Pi based upon instructions found on other sites and kind work by developers sharing code on Github.  I acquired a Raspberry Pi B+ and tried to compile mongoDB as I had done previously.  I quickly found out that the (old) compiled version (2.1.1) no longer functions under Raspbian.

I had also been trying out Arch Linux for R-Pi as it was “lighter” and did not include all the GUI/X components that I don’t use.  I use R-Pi for more server centric things and use frame buffer apps for video and images (omxplayer, fbi, fim).

I saw a comment to a posting when Googling for new info for mongoDB on R-Pi.  It said, simply, “use Arch Linux”.  So I did!  I had a little trouble getting Arch Linux to run on the B+ but after a firmware update obtained by a “pacman -Syu” on a R-Pi model B, I could now boot and use Arch Linux on the R-Pi B+ 🙂

I did simple installs via “pacman -S” for “mongodb” and “nodejs”.  I now have full mongoDB 2.6.3 with utilities, Node.js 0.10.29 and npm 1.4.21 working just fine.  Sure mongoDB is pretty slow and can only handle 2GB DBs but I’ve partitioned my data into multiple DBs and combine queries and results using JavaScript.

My effusive thanks go to the Arch Linux Package maintainers!

One Comment (+add yours?)