标签:位置 问题 tps mysql win7 ati tar 查找 .exe
1. 首先,当然是下载 MongoDB
MongoDB的官方网站是:http://www.mongodb.org/,
3.在浏览器中输入网址:http://localhost:27017/ 。如果服务启动成功会看到以下一段话:
It looks like you are trying to access MongoDB over HTTP on the native driver port.
4.回到 Hotfix KB2731284 or later update is not installed这个问题,从官方文档的另一段话:
If you are running any edition of Windows Server 2008 R2 or Windows 7, please installa hotfix to resolve an issue with memory mapped files on Windows.
大意是:如果您运行的是任何版本的Windows Server 2008 R2或Windows 7,请安装修复程序来解决一个内存映射文件在Windows的问题。
5.由于每次都要打开mongodb服务,要输入那么一段cmd文字。其实可以将其添加为 服务 来启动。做法如下:
打开cmd, 输入以下文字【注意:路径需和自己的一致,参看第2步骤】:
sc.exe create MongoDB binPath= "\"D:\mongodb\bin\mongod.exe\" --service --config=\"D:\mongodb\mongod.cfg\"" DisplayName= "MongoDB" start= "auto"
如无意外,会看到:CreateService 成功。打开cmd,输入 services.msc,查找 MongoDB 服务,如果能启动成功,则证明路径正确。如果不能启动,则表示 路径错误,需要删除该服务(命令为:sc delete MongoDB),然后重新添加。
标签:位置 问题 tps mysql win7 ati tar 查找 .exe
原文地址:http://www.cnblogs.com/huangxx/p/6415678.html