First of all thanks to Bo Aberdeen know, followed by the WIN10 of the Cow fork, compatibility is good.
First, download the MongoDB 2.6.6 installation package, unfortunately, the official website charges. But fortunately, I am a good person: http://pan.baidu.com/s/1qXzCzIc
Then it is double-click, install and install .... Installation type, select "Typical" until finish.
However, there are no eggs to use ... Just the equivalent of extracting a bin file. At this point, your C-drive has a folder C:\Program Files\mongodb 2.6 Standard
You can then create the location where you store the MongoDB database and logs. I put it on the D-plate.
Database storage location D:\mongodb\data
Log file storage location D:\mongodb\log\log.txt (log txt file needs to be built beforehand)
Although there are now multiple EXE files under the C:\Program Files\mongodb 2.6 Standard\bin folder, it is closed immediately when you double-click.
So we're going to use the command line.
To ensure a one-time installation, we need to execute command line win+x with the "admin" role Select a.
Execute command
Cd:c:\program FILES\MONGODB 2.6 Standard\bin
Press ENTER
Mongod.exe--dbpath d:\mongodb\data--logpath d:\mongodb\log\log.txt--logappend--directoryperdb--servicename MongoDB--servicedisplayname MongoDB--install
Note: DBPath is followed by the location of the database storage LogPath followed by the location of the log file ServiceName is the service name Servicedisplayname is the service reality name, personal advice set to the same, Lest you want to delete the service later forget ServiceName is what. After the execution if not error, you can go to the service inside to see, this time should have added a service, if the error to D:\mongodb\log\log.txt view errors, and then find the corresponding solution.
net start MongoDB
Start your service
sc config Mongodb=auto
Set up service boot up
And we checked to see if it was really successful.
CD C:\Program FILES\MONGODB 2.6 standard
CD bin
Mongo
Show DBS;
Myself:
At this point, the installation is successful.
The installation of MongoDB 2.6.6 under WINDOW10