MongoDB Installation and Configuration--win10

Source: Internet
Author: User
Tags mongodb compass

MongoDB Installation and Configuration--win10December 31, 2017 17:17:39Hits: 24031. Download
下载链接:https://www.mongodb.com/download-center?jmp=nav#community
    • 1

2. Installation
按提示安装即可1. Complete:完整安装2. Custom:自定义安装,可选择安装路径和安装组件
    • 1
    • 2
    • 3

3. Configuration
[C:\Program Files\MongoDB\Server\3.6]
    • 1

2. Create three folders in the MongoDB installation directory (you can also customize the selection placement path, where I choose to place the E:\MongoDB\) (1) Under the Conf folder, create a new Mongodb.config file with the following contents: Dbpath=e:\mongodb\data  #数据库路径logpath =e:\ Mongodb\logs\mongodb. log  #日志输出文件路径logappend = True  #错误日志采用追加模式journal =true  #启用日志文件, Quiet=true  #过滤掉无用的日志信息, if need to debug use please set to Falseport=27017  #端口号 default to 27017 (2) under Logs folder, new Mongodb. Log file                 
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11



4. Add As System service
将MongoDB安装目录添加到系统环境变量 PathC:\Program Files\MongoDB\Server\3.6\bin
    • 1
    • 2

Add as System service PowerShell (Admin)
Mongod.exe--config E:\MongoDB\conf\mongodb.config--install--servicename "MongoDB"
Start the service
net start MongoDB

5. MongoDB Compass Community Management MongoDB

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced. 78942448

MongoDB Installation and Configuration--win10

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.