mongodb windows install &python

安装mongo

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/

其中修改:

echo logpath=C:\mongodb\log\mongo.log > C:\mongodb\mongod.cfg

此命令行用来配置mongodb安装,创建文件夹

mk  C:\mongodb\data\db
mk  C:\mongodb\log

编辑mongod.cfg如下:

##store data here
dbpath=C:\mongodb\data\db
 
##all output go here
logpath=C:\mongodb\log\mongo.log
 
##log read and write operations
diaglog=3

安装python环境和pymongo

http://www.python.org/getit/

https://pypi.python.org/pypi/pymongo/#downloads

 

posted @ 2013-08-01 11:35  bigbigtree  阅读(264)  评论(0编辑  收藏  举报