Mongodb

From Wiki2
Revision as of 13:32, 14 January 2014 by Tim (talk | contribs)

basic mongo

from https://www.openshift.com/blogs/day-15-meteor-building-a-web-app-from-scratch-in-meteor

where is mongo?

 ps -ef|grep mongo

MongoDB shell version: 2.4.6 connecting to: 127.0.0.1:3002/test > show dbs local 0.03125GB meteor 0.0625GB > use meteor switched to db meteor


installing-mongodb-on-windows-the-wamp-way

on homebuntu

https://www.digitalocean.com/community/articles/how-to-install-mongodb-on-ubuntu-12-04

sudo service mongodb start

The MongoDB instance stores its data files in the /var/lib/mongodb and its log files in /var/log/mongodb/mongodb.log

on ubuntu lucid