【前言】
MongoDB服务端可运行在Linux、Windows或mac os x平台,支持32位和64位应用,默认端口为27017。推荐运行在64位平台,因为MongoDB在32位模式运行时支持的最大文件尺寸为2GB。另外,根据官网说明,MongoDB在3.2版本之后跨越性比较大,可能较之前存在很多差异(卤煮:“什么鬼,连官网都跟改头换面似的~”)!
【环境】
卤煮的环境如下:
操作系统:Windows7 旗舰版
版本:MongoDB 3.2.8
安装路径:E:\MongoDB\Server\3.2(请以自己的安装路径为准)
【必读】
根据官网说明:Ifyou are running any edition of Windows Server 2008 R2 or Windows 7, pleaseinstall a hotfix to resolve anissue with memory mapped files on Windows.,如果你的系统为任何版本的Windows Server 2008 R2 或者Windows7,需要先进入微软页面https://support.microsoft.com/zh-cn/kb/2731284下载补丁,点击