The installation chapter of MongoDB Learning

Source: Internet
Author: User

First, the preparatory work

Source file Mongodb-win32-x86_64-2008plus-ssl-3.4.10-signed.msi

installation directory D:\mongodb

1. Create several folders as follows: Database path (data directory), log path (logs directory), and log file (Mongo.log file)

2. Create the configuration file mongo.conf, the file contents are as follows:

#数据库路径  dbpath=d:\mongodb\data  #日志输出文件路径  logpath=d:\mongodb\logs\mongo.log  #错误日志采用追加模式  Logappend=true  #启用日志文件, Journal=true #这个选项可以过滤掉一些无用的日志信息 is enabled by default  and set to False if debugging is required  quiet=true  #端口号 defaults to 27017  

3. Start MongoDB Service

Mongod--config "D:\mongodb\mongo.conf"

Specify profile Startup

After execution, open the browser http://127.0.0.1:27017/

--------> Start successful default port 27017

Using the Client tool (Robo 3T) to connect MongoDB

Reference:

http://blog.csdn.net/qq_27093465/article/details/54574948

The installation chapter of MongoDB Learning

Related Article

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.