日期:2014-05-16 浏览次数:20455 次
老是会去查mongoDB的官网文档,这里记录下常用的,以后慢慢补充
?
?
./mongo 192.168.13.7:9999/foo?
?
./mongod --dbpath xxx
alias mongod="~/develop/mongo/bin/mongod --dbpath ~/develop/mongo/db"
alias mongod="~/develop/mongo/bin/mongod --dbpath ~/develop/mongo/db"