发布于 2015-09-14 15:13:13 | 129 次阅读 | 评论: 0 | 来源: 网络整理

Running MongoDB on Windows

See the Install on Windows tutorial for more information on how to install and run the database for the first time.

Running as a Service

See the Windows Service page.

The MongoDB Server

Get pre-built binaries on the MongoDB Downloads page. Binaries are available for both 32 bit and 64 bit Windows. MongoDB uses memory-mapped files for data storage, so for servers managing more than 2GB of data you will definitely need the 64 bit version (and a 64 bit version of Windows).

The Windows 2008 MongoDB build uses newer features of Windows to enhance performance. Use this build if you are running with 64-bit Windows Server 2008 R2, Windows 7, or greater.

Writing Apps

You can write apps in almost any programming language, see the 驱动 page. In particular C#, .NET, PHP, C and C++ work just fine.

Building

We recommend using the pre-built binaries, but MongoDB builds fine with Visual Studio 2008 and 2010. See the “Building for Windows using Visual Studio 2008” and “Building for Windows using Visual Studio 2010” pages.

Versions of Windows

We have successfully run MongoDB (mongod, etc.) on:

  • Windows Server 2008 R2 64 bit
  • Windows 7 (32 bit and 64 bit)
  • Windows Vista
  • Windows XP

注解

As of MongoDB 2.1.2, Windows XP is no longer supported as a server environment.

Windows Azure

For information on running Windows on Azure, see Windows Azure.

最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务