A lot of this information will seem obvious to a lot of you. But it did require me to perform a few Google searches, so hopefully I can save you the trouble.
I provide a script to automate this process:
This script is deprecated now. Fortunately 10Gen (the company who makes MongoDB) provides an Apt repository. Do not use the current MongoDB version in the Ubuntu apt sources. It's version 1.6.*
All you need to do:
Add the following line: deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
apt-get update apt-get install mongodb-10gen
By default MongoDB runs in trusted mode. This means that it's listening on port 27017 for any connection. We want it to only listen on localhost.
Edit the file: /etc/mongodb.conf
Add the following lines: bind_ip 127.0.0.1 noauth = true ##### YOU MUST add this line if you use bind_ip
If you made it this far, you should follow me on Twitter.
Want to test-drive Bitcoin without any risk? Check out my bitcoin wallet Coinbolt. It includes test coins for free.comments powered by Disqus