One. Download MongoDBMongoDB's official website is: http://www.mongodb.org/, my operating system
is win7 64-bit, the installation version is 64-bit MongoDB 2.4.8
Two. Install MongoDB
1. Unzip mongodb-win32-x86_64-2008plus-2.4.8 to D drive, at D:\\mongodb-win32-x86_64- 2008plus-2.4.8 create data folder, create db, log two folders under D:\\mongodb-win32-x86_64-2008plus-2.4.8\\data respectively
2. Under the log folder Create a log file MongoDB.log, ie D:\\mongodb-win32-x86_64-2008plus-2.4.8\\data\\log\\MongoDB.log
Three. Installation method
1. Start MongoDB
Open the cmd window and enter the following dos command in the window, as shown below:
Under normal circumstances , will be as shown below:
Open mongo.exe in the D:\\mongodb-win32-x86_64-2008plus-2.4.8\\bin folder, The following figure appears:
2. Test mongoDB
>db.foo.insert({name:’Hello world’ }) (insert name to the foo table, & rsquo;Hello worl d & rsquo; field value, foo table is the default table)
>db.foo.find() (view foo table data)
As shown below:
< Br>
WindowsApps is hidden by default. You only need to check the Hidden items checkbox in the menu bar t
Recently, some WIN10 users have indicated that the project is not in the process of deleting the fil
The Modern application in Win10 can generally be uninstalled in the right-click menu, but some of th
Beijing time on July 3, early in the morning, Microsoft pushed the Win10 preview version of Build 10
Win10 PC version Cortana Microsoft Xiaona send SMS demo video
Win10 system prompts can not display this page in the advanced settings to enable TLS 1.0 solution
Win7 game network delay how to do
How to set up dual screen display for computer under Win10 system?
Win10 desktop version of Xiaona easy to use? Win10 version of Xiaona Cortana uses evaluation
How to fix winlogon.exe error when Windows 8 system shutdown
How to remove the location icon of the Windows7 desktop recently removed
Solve the problem that Firefox sometimes uses window.close() script to close the current window.
What should I do if windows update prompts 80070002 error when windows is patched?
Win10 latest preview version 10061 summary article
Win7 in the start menu to create a command prompt shortcut method graphic tutorial
Win10 RTM official version of Build 10240 release log exposure
Adjust win7 taskbar input method icon
In-depth understanding and optimization of the Windows XP boot
Win7VNC client connection RedHatLinuxAS5.8 configuration
Set the default location when win7 Explorer starts
Windows Server 2008 R2 network security settings
Need to upgrade the Win 8 system for ordinary home computers?
Linux system administrator's work experience sharing
Jumping Beam Clown: Slamming Windows 7 Security? Anti-virus software for those bad things