Can someone lend me a hand with a first time user's install issues?
Any help would be greatly appreciated, I am running this off of Virtualbox.
1) I run 'mongod' and I get the following:
ERROR: dbpath (/data/db) does not exist.
Create this directory or give existing directory in --dbpath.
, terminating
2) Where do I go to set this? I look into /etc/mongod.conf and see the following line: (how should I change this?)
dbpath=/var/lib/mongodb
3) When I attempt to run 'mongo' I get the following:
2015-01-19T01:02:38.625-0700 warning: Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused
2015-01-19T01:02:38.625-0700 Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146
exception: connect failed
4) Also, I am not running on 127.0.0.1 so do I also change/set this from the mongod.conf file or set this elsewhere?