{"id":232,"title":"windows10\u4e0b\u5b89\u88c5mongodb","good":0,"bad":0,"hit":2164,"created_at":"2016-05-19 22:55:39","content":"

\u5230\u5b98\u7f51\u4e0b\u8f7d\uff1ahttps:\/\/www.mongodb.com\/download-center?jmp=nav#community<\/a><\/p>

\u8fd9\u91cc\u7528\u7684\u662f\u6700\u65b0\u7248\u7684Current Stable Release (3.2.6)<\/p>

\u4e0b\u8f7d\u540e\u53cc\u51fb\u5b89\u88c5\uff0c\u8fd9\u91cc\u9009\u62e9\u7684\u5b89\u88c5\u8def\u5f84\u4e3aD:\\AppServ83\\mongodb_3_2_6<\/p>

\u5b89\u88c5\u597d\u540e\uff0c\u5728\u8fd9\u76ee\u5f55\u4e0b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\u540d\u4e3adata<\/p>

\u518d\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\u540d\u4e3alogs,\u518d\u5728logs\u4e0b\u5efa\u7acb\u4e00\u4e2a\u6587\u4ef6mongodb.log<\/p>

\u5728D:\\AppServ83\\mongodb_3_2_6\u4e0b\u5efa\u7acb\u4e00\u4e2a\u6587\u4ef6start.bat<\/p>

\u5728\u5176\u4e2d\u5199\u5165\u5185\u5bb9\uff1a<\/p>

D:\\AppServ83\\mongodb_3_2_6\\bin\\mongod --dbpath D:\\AppServ83\\mongodb_3_2_6\\data --logpath=D:\\AppServ83\\mongodb_3_2_6\\logs\\mongodb.log --logappend<\/p>

<\/p>

\u53cc\u51fb\u5373\u53ef\u542f\u52a8mongodb<\/p>

\u7528\u6d4f\u89c8\u5668\u8bbf\u95ee\uff1ahttp:\/\/localhost:27017\/<\/a><\/p>

\u5982\u679c\u770b\u5230\uff1aIt looks like you are trying to access MongoDB over HTTP on the native driver port.\u5373\u8868\u793a\u542f\u52a8\u6210\u529f\uff0cmongodb\u9ed8\u8ba4\u7aef\u53e3\u4e3a27017<\/p>"}