- Web Development with MongoDB and Node(Third Edition)
- Bruno Joseph D'mello Mithun Satheesh Jason Krol
- 270字
- 2021-07-08 10:32:41
Windows 7/Windows 8 installation instructions
After completing the download, the MongoDB website will automatically redirect you to a landing page with a link to a Windows Quick Start guide at:
http://docs.MongoDB.org/manual/tutorial/install-MongoDB-on-windows/.
It is highly recommended that you follow that guide, as it will be the most up-to-date and will generally be more detailed than what I can provide here.
Extract the ZIP file that was downloaded to the root c:\ destination. By default, this should extract a folder named MongoDB-osx-x86_64-2.4.9. Depending on the tool you are using for extraction, you can leave this as it is or change the destination folder to simply MongoDB. If you don't change the destination during extraction, you should rename the folder once it is complete. Either way, be sure that the files that are extracted reside in a folder named c:\MongoDB.
Next, you need to create a default data folder, which MongoDB will use to store all the data documents. Using Windows Explorer or Command Prompt, whichever you are most comfortable with, create the c:\data folder and then c:\data\db by using the following command:
$ md data $ md data\db
Once the files have been properly extracted to the c:\MongoDB folder and both the data folders subsequently created, you can then start the MongoDB database server by executing the following command from a prompt:
$ c:\MongoDB\bin\mongod.exe
This should dump a bunch of log statements while the server starts up, but will ultimately end with:
2017-08-04T10:10:47.853+0530 I NETWORK [thread1] waiting for connections on port 27017
That's it! Your MongoDB server is up and running. You can type Ctrl-C to cancel and shut down the server.
- Java程序設(shè)計(慕課版)
- Expert C++
- 數(shù)據(jù)結(jié)構(gòu)和算法基礎(chǔ)(Java語言實現(xiàn))
- Reactive Programming with Swift
- 軟件測試項目實戰(zhàn)之性能測試篇
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優(yōu)化計算
- JavaScript從入門到精通(第3版)
- 利用Python進(jìn)行數(shù)據(jù)分析(原書第3版)
- Kotlin從基礎(chǔ)到實戰(zhàn)
- 新一代SDN:VMware NSX 網(wǎng)絡(luò)原理與實踐
- SQL 經(jīng)典實例
- 零基礎(chǔ)學(xué)C語言第2版
- 跟戴銘學(xué)iOS編程:理順核心知識點
- 算法秘籍
- 數(shù)據(jù)結(jié)構(gòu):Python語言描述