1----->:https://www.mongodb.com/dr/fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.4.4-signed.msi/download
2-----> Custom Installation:
3-----> CREATE database File installation files and log files (in my case log files in D:\data\dbConf data files in D:\data)
Specify the path to DB and log in the Mongo.config file: dbpath=d:\data\db
Logpath=d:\data\dbconf\mongodb.log
4-----> in the cmd window into the MONGO installation directory (D:\mongodb\bin)
5-----> Open cmd Command as Administrator
In the bin\ directory of the installation directory: Mongod--config D:\mongodb\mongo.config--install--servicename "MongoDB"
To start successfully. But now is the CMD Black window running under MongoDB, now we need her to run in Windows background
(1) CTRL + C ends the process in the CMD window
(2) Delete the. lock file under the D:\data\db path
3: Re-open a cmd input services.msc find the MONGO program running in the background double click to start
Now your MongoDB service process is running silently in Windows background
Installation and configuration of MongoDB under Windows