Here’s a very quick post on how to install node js on a pi. This is more for my memory than anything else.
sudo apt-get update sudo apt-get upgrade sudo apt-get install mongodb-server
You should be able to start the mongo db server by running:
sudo service mongodb start
You can write mongoDB commands in the mongo shell by opening it:
At the time of writing, this installed mongoDB version 2.4.10. This can prove problematic with some newer mongo requests. I had a problem with mongoose in one of my projects where I had to find a work around for it.
I tend to administer my mongoDB databases using robomongo as I find it easier to do it with a GUI on a remote machine.