Get the App
SLTechnology News&Howtos  ›  Database  › 

2.windows installs mongodb Enterprise Edition

Shulou Source: shulou.com Published: 2022-06-01 22:33:47 10月01日 Update

2.windows installs mongodb Enterprise Edition

The latest content will be updated at the origin server. To reprint, please keep the original link: http://dashidan.com/article/mongodb/index.html

Download Mongodb Enterprise Edition from ①

Download link on the official website

Click to download when you need to fill in a form, need to fill in the email name according to the form requirements. And you need to select the consent clause below.

② download package selection

There are two kinds of bags in windows.

Archive this download is a zip compression package, about 273m.

Msi this download is the windows installer, 156m or so.

The same function, it is recommended to download compressed package, do not need to install system services, decompressed can be used.

③ windows installation instructions

Windows Enterprise Edition requires Windows Server 2008 R2 or later.

Check the version of windows and the number of system digits you use, and open a command prompt to enter:

Wmic os get captionwmic os get osarchitecture

If you download the msi version, install it after download. If you download the zip version, unzip it.

Do not let mongodb.exe be visible on the public network

Because Mongodb is designed to run in a trusted environment, the database does not turn on secure mode by default.

④ creates a mongodb data directory

Create a new folder as the mongodb database storage directory.

D:\ mongodb

⑤ starts mongodb

Create a new start_mongo.bat file and put it in the bin folder of the mongoDB installation directory. Write the following:

Mongod-dbpath "d:\ mongodb"

After saving, double-click the start_mongo.bat file to start mongodb. For convenience, you can right-select-> send to Desktop Shortcut at this file point. This can be started every time you click on the desktop.

6. Connect mongodb

Run mongo.exe in the bin folder in the mongodb installation directory to connect to the database.

⑦ reference articles

Official website

Tags: Files data directories enterprises databases folders versions content desktops systems forms links updates running selection security no digits functions original text Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Docker MariaDB NVidia OPPO Reno