如何让 meteor 在 windows 10 上的 64 位 mongodb 上工作?
How to make meteor work on 64bit mongodb on windows 10?
我只是安装 meteor.js 并尝试用它来替换旧框架。
问题是:
在我的 windows 10 64 位系统上,流星使用 32 位 mongodb(2.6.7),这限制了数据库大小为 2gb。
如何使 meteor 在 64 位上工作mongodb?
如果你有 32 位版本,我猜你没有安装正确的 Mongo 版本。
查看他们的安装指南:
https://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
首先为 Windows 下载正确的 64 位版本:
https://www.mongodb.org/downloads#production
并按照说明进行操作:
Install MongoDB
Interactive Installation 1 Install MongoDB for Windows. In Windows
Explorer, locate the downloaded MongoDB .msi file, which typically is
located in the default Downloads folder. Double-click the .msi file. A
set of screens will appear to guide you through the installation
process.
You may specify an installation directory if you choose the “Custom”
installation option.
NOTE These instructions assume that you have installed MongoDB to
C:\mongodb. MongoDB is self-contained and does not have any other
system dependencies. You can run MongoDB from any folder you choose.
You may install MongoDB in any folder (e.g. D:\test\mongodb).
我自己刚刚研究了一下,看起来 Meteor 1.4 版本将更新到 MongoDB 的 3.2 版本,其中“32 位二进制文件已弃用"
- Github ticket for the updating of MongoDB
- MongoDB declaration that 3.2 has deprecated 32-bit binaries
- Meteor 1.4 announcement
如果升级您的 MongoDB 实例是强制性的 现在 ,那么不幸的是,看起来唯一的方法是您自己手动升级二进制文件。如果你这样做,我建议你备份它们以防万一它搞砸了。
要升级到 3.2 版,您首先需要 upgrade to version 3.0, then you can upgrade to version 3.2
我只是安装 meteor.js 并尝试用它来替换旧框架。 问题是:
在我的 windows 10 64 位系统上,流星使用 32 位 mongodb(2.6.7),这限制了数据库大小为 2gb。
如何使 meteor 在 64 位上工作mongodb?
如果你有 32 位版本,我猜你没有安装正确的 Mongo 版本。
查看他们的安装指南: https://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
首先为 Windows 下载正确的 64 位版本: https://www.mongodb.org/downloads#production
并按照说明进行操作:
Install MongoDB
Interactive Installation 1 Install MongoDB for Windows. In Windows Explorer, locate the downloaded MongoDB .msi file, which typically is located in the default Downloads folder. Double-click the .msi file. A set of screens will appear to guide you through the installation process.
You may specify an installation directory if you choose the “Custom” installation option.
NOTE These instructions assume that you have installed MongoDB to C:\mongodb. MongoDB is self-contained and does not have any other system dependencies. You can run MongoDB from any folder you choose. You may install MongoDB in any folder (e.g. D:\test\mongodb).
我自己刚刚研究了一下,看起来 Meteor 1.4 版本将更新到 MongoDB 的 3.2 版本,其中“32 位二进制文件已弃用"
- Github ticket for the updating of MongoDB
- MongoDB declaration that 3.2 has deprecated 32-bit binaries
- Meteor 1.4 announcement
如果升级您的 MongoDB 实例是强制性的 现在 ,那么不幸的是,看起来唯一的方法是您自己手动升级二进制文件。如果你这样做,我建议你备份它们以防万一它搞砸了。
要升级到 3.2 版,您首先需要 upgrade to version 3.0, then you can upgrade to version 3.2