Download URL http://dl.mongodb.org/dl/win32/x86_64
Mongodb-win32-x86_64-2008plus-ssl-v3.4-latest.zip
Unzip D-Disk named MongoDB
New Data folder under MongoDB folder
Create db,log two folders under Data folder
Create a log file under the log folder Mongodb.log
Under the MongoDB folder, create a new mongod.cfg with the content
Systemlog:
Destination:file
Path:d:\mongodb\data\log\mongodb.log
Storage
Dbpath:d:\mongodb\data\db
CMD command-line installation
D:\mongodb\bin>mongod-dbpath "D:\mongodb\data\db"
Open http://127.0.0.1:27017/after installation is complete
See
It looks like you is trying to access MongoDB over HTTP on the native driver port.
The instructions have been installed successfully.
CMD Install MongoDB service, run as Administrator
"D:\mongodb\\mongod.exe"--config "D:\mongodb\mongod.cfg"--install
If you want the service to start automatically
Sc.exe Create MongoDB binpath= "D:\mongodb\bin\mongod.exe--service--config=\" D:\mongodb\mongod.cfg\ "" Displayname= " MongoDB "start=" Auto "
Open service
net start MongoDB
Stop the MongoDB service using the following command:
net stop MongoDB
Delete the MongoDB service using the following command:
"D:\MongoDB\bin\mongod.exe"--remove
Installing MongoDB and configuring