Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

2.windows installs mongodb Enterprise Edition

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report