Http://www.mongodb.org/downloads website Download address can be down to the latest MongoDB.
There is a full English installation instructions above.
Here a brief introduction, supply to see E-wen headache students.
There are two ways to start after decompression.
1, direct start example via cmd
C:\mongodb\bin\mongod.exe--dbpath d:\test\mongodb\data DBPath before the path to unpack the installation package after the Mongod.exe the current path, the following path is the path you want to store the database data .
Then start C:\mongodb\bin\mongo.exe into the database, you can through the following statements experience, NoSQL charm.
> Db.test.save ({a:1})
> Db.test.find ()
2 installation via CMD as Windows service mode
Create a new log file path through MD C:\mongodb\log you can set it yourself
Then run echo logpath=c:\mongodb\log\mongo.log > C:\mongodb\mongod.cfg
echo dbpath=d:\test\mongodb\data\db > C:\mongodb\mongod.cfg
C:\mongodb\bin\mongod.exe--config C:\mongodb\mongod.cfg--install Complete Installation
Command
net start MongoDB enable MongoDB services
net stop MongoDB
C:\mongodb\bin\mongod.exe--remove Uninstall Installation
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.