WINDOW10 Installing MongoDB

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed. # # Download MONGODB[MONGODB official website] (http://www.mongodb.org/) [download Zip package directly] (http://dl.mongodb.org/dl/win32/x86_64) # # Install MONGODB1. Create file path: D:\MONGODB2. Unzip the zip that you just downloaded in MongoDB, modify the folder name to Bin3. Then create a new folder Data4 under D:\mongodb. Create a folder Db,log5 under Data. Create the log file Mongodb.log6 under the log folder. At this point MongoDB has a file:   * D:\mongodb\bin * D:\mongodb\data * D:\mongodb\data\db * D:\mongodb\ Data\log * D:\mongodb\data\log\MongoDB.log7. Command line install ' D:\mongodb\bin>mongod-dbpath ' D:\mongodb\data\db ' 8. The following instructions appear to have been installed to complete the ' waiting for connections on port 27017 ' 9. After the installation is complete, open *http://127.0.0.1:27017* ' It looks like your is trying to access MongoDB over HTTP on the native driver port. "The description has been installed successfully." ' # # Turn on MongoDB service 1. Build mongodb.conf config file under MongoDB file ' dbpath=d:\program\mongodb\data\db #数据库路径 ' logpath=d:\program\mongodb\data\log\ MongoDB.log #日志输出文件路径 ' Logappend=true #错误日志采用追加模式, after configuring this option, the MongoDB log is appended to the existing log file instead of creating a new file "Journal=true" #启用日志文件 , by default, enable the ' Quiet=true #这个选项可以过滤掉一些无用的日志信息, set to False if required for debugging port=27017 #端口号 default to 27017 ' Replset=rs0 ' 2. InCommand line go to *d:\mongodb\bin*, run ' mongod--config D:\program\mongodb\mongo.config ' 3. Open another command-line window, go to *d:\mongodb\bin*, run ' MONGO ' this operation opens MongoDB console ' 131 reads  

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.