学习电脑,计算机系统故障维护,电脑技术,电脑知识学习-就上第二电脑网
当前位置: 首页 > 电脑知识 > 电脑基础

联想电脑i3台式电脑Install MongoDB Community Edition on Windows

 更新时间: 2019-08-10 13:10:36   作者:第二电脑网   来源:第二电脑网   浏览数:424   我要评论

网上关于安装MogoDB的中文介绍坑太多,请参考下面的官方文档,原文地址OveviewUse this tutoial to istall MogoDB Commuity Editio o Widows systems.PLATFORM SUPPOR

网上关于安装MongoDB的中文介绍坑太多,请参考下面的官方文档,原文地址

Overview

Use this tutorial to install MongoDB Community Edition on Windows systems.PLATFORM SUPPORTStarting in version 2.2, MongoDB does not support Windows XP. Please use a more recent version of Windows to use more recent releases of MongoDB.IMPORTANTIf you are running any edition of Windows Server 2008 R2 or Windows 7, please install a hotfix to resolve an issue with memory mapped files on Windows.

Requirements

MongoDB Community Edition requires Windows Server 2008 R2, Windows Vista, or later. The .msi installer includes all other software dependencies and will automatically upgrade any older version of MongoDB installed using an .msi file.

Get MongoDB Community Edition

1

Determine which MongoDB build you need.

There are three builds of MongoDB for Windows:MongoDB for Windows 64-bit runs only on Windows Server 2008 R2, Windows 7 64-bit, and newer versions of Windows. This build takes advantage of recent enhancements to the Windows Platform and cannot operate on older versions of Windows.MongoDB for Windows 32-bit runs on any 32-bit version of Windows newer than Windows Vista. 32-bit versions of MongoDB are only intended for older systems and for use in testing and development systems. 32-bit versions of MongoDB only support databases smaller than 2GB.NOTEStarting in MongoDB 3.2, 32-bit binaries are deprecated and will be unavailable in future releases.MongoDB for Windows 64-bit Legacy runs on Windows Vista, Windows Server 2003, and Windows Server 2008 and does not include recent performance enhancements.To find which version of Windows you are running, enter the following commands in the Command Prompt or Powershell:
wmic os get caption
wmic os get osarchitecture
2

Download MongoDB for Windows.

Download the latest production release of MongoDB from the MongoDB downloads page. Ensure you download the correct version of MongoDB for your Windows system. The 64-bit versions of MongoDB do not work with 32-bit Windows.

Install MongoDB Community Edition

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.NOTEThese 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).

Unattended Installation

You may install MongoDB Community unattended on Windows from the command line using msiexec.exe.1

Open an Administrator command prompt.

Press the Win key, type cmd.exe, and press Ctrl + Shift + Enter to run the Command Prompt as Administrator.Execute the remaining steps from the Administrator command prompt.2

Install MongoDB for Windows.

Change to the directory containing the .msi installation binary of your choice and invoke:
msiexec.exe /q /i mongodb-win32-x86_64-2008plus-ssl-3.2.1-signed.msi ^
            INSTALLLOCATION="C:\mongodb" ^
            ADDLOCAL="all"
You can specify the installation location for the executable by modifying the INSTALLLOCATION value.By default, this method installs all MongoDB binaries. To install specific MongoDB component sets, you can specify them in the ADDLOCAL argument using a comma-separated list including one or more of the following component sets:
Component SetBinaries
Servermongod.exe
Routermongos.exe
Clientmongo.exe
MonitoringToolsmongostat.exe, mongotop.exe
ImportExportToolsmongodump.exe, mongorestore.exe, mongoexport.exe, mongoimport.exe
MiscellaneousToolsbsondump.exe, mongofiles.exe, mongooplog.exe, mongoperf.exe
For instance, to install only the MongoDB utilities, invoke:
msiexec.exe /q /i mongodb-win32-x86_64-2008plus-ssl-3.2.1-signed.msi ^
            INSTALLLOCATION="C:\mongodb" ^
            ADDLOCAL="MonitoringTools,ImportExportTools,MiscellaneousTools"

Run MongoDB Community Edition

电脑知识网认为此文章对《联想电脑i3台式电脑Install MongoDB Community Edition on Windows》说的很在理,电脑知识网为你提供最佳的学电脑知识,电脑知识网。

WARNINGDo not make mongod.exe visible on public networks without running in “Secure Mode” with the authsetting. MongoDB is designed to be run in trusted environments, and the database does not enable “Secure Mode” by default.1

Set up the MongoDB environment.
更多:联想电脑i3台式电脑Install MongoDB Community Edition on Windows
https://www.002pc.com/diannaojichu/828.html

你可能感兴趣的Windows,MongoDB,Community,Install,Edition

关于我们 - 广告合作 - 联系我们 - 免责声明 - 网站地图 - 投诉建议 - 在线投稿

  浙ICP备140365454号

©CopyRight 2008-2020 002pc.COM Inc All Rights Reserved. 第二电脑网 版权所有 联系QQ:282523118