Difference between revisions of "Mongodb"

From Wiki2
Line 3: Line 3:


where is mongo?
where is mongo?
   ps -ef|grep mongo
   ps -ef|grep mongo


MongoDB shell version: 2.4.6
    MongoDB shell version: 2.4.6
connecting to: 127.0.0.1:3002/test
    connecting to: 127.0.0.1:3002/test
> show dbs
    > show dbs
local  0.03125GB
    local  0.03125GB
meteor  0.0625GB
    meteor  0.0625GB
> use meteor
    > use meteor
switched to db 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]===


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



Revision as of 13:34, 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 parleyV12

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