2.windows Installing MongoDB Enterprise Edition
① Download MongoDB Enterprise Edition
Website download link
Click to download the need to fill out a form, you need to follow the form required to fill in the mail name and so on. And you need to check the consent terms below.
② Download Package Selection
There are 2 types of packages in Windows.
Archive This download down is a zip compression package, about 273M.
MSI This download down is Windows Installer, around 156M.
function, it is recommended to download the compressed package, do not install the system services, after decompression can be used.
③windows Installation Instructions
Windows Enterprise Edition requires Windows Server R2 or an updated version.
To view the version of Windows and the number of system bits you use, open a command prompt to enter:
WMIC OS get captionwmic OS get osarchitecture
If you download the MSI version, install it after the download is complete. If you download the zip version, unzip it.
Don't 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 "safe" mode by default.
④ Creating a MongoDB Data directory
Create a new folder as a MongoDB database store directory.
D:\mongodb
⑤ Start MongoDB
Create a new Start_mongo.bat file and place it in the Bin folder of the MongoDB installation directory. Write the following:
Mongod-dbpath "D:\mongodb"
Once saved, double-click on the start_mongo.bat
file to start MongoDB. For ease of operation, you can send to desktop shortcuts by right-clicking on this file point. This will start every time you click on the desktop.
⑥. Connecting MongoDB
bin
You can connect to the database by running a folder in the MongoDB installation directory mongo.exe
.
⑦ Reference Articles
Official website
The latest content will be updated at the source station. Reprint please keep the original link: http://dashidan.com/article/mongodb/index.html
This article is from the "13402341" blog, please be sure to keep this source http://13412341.blog.51cto.com/13402341/1976394
2.windows Installing MongoDB Enterprise Edition