Difference between revisions of "Mongodb"

From Wiki2
Line 1: Line 1:
===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
===[http://www.pronique.com/blog/installing-mongodb-on-windows-the-wamp-way installing-mongodb-on-windows-the-wamp-way]===
===[http://www.pronique.com/blog/installing-mongodb-on-windows-the-wamp-way installing-mongodb-on-windows-the-wamp-way]===



Revision as of 13:32, 14 January 2014

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