Example: MongoDB cluster configuration process

Source: Internet
Author: User
Tags install mongodb

Recently, because some project companies began to use MongoDB as a large number of data storage, through the network of a large number of resources themselves have mastered a set of feasible MongoDB cluster configuration process, MongoDB with irregular storage, big data storage, multi-platform support, powerful extension plug-in features, After using for a period of time feel completely do not lose all kinds of large database. Come on the year of the Sao.

cite blog posts, resource addresses
    • Official website (): http://www.mongodb.org/
    • Chinese manual:
    • Visualizer Mongovue Green version: Http://pan.baidu.com/s/1kT21mgZ
    • MongoDB Basic command: http://www.cnblogs.com/liyonghui/p/mongodb.html
    • Advanced command: http://chenzhou123520.iteye.com/blog/1641324
    • Very good cluster configuration article: http://blog.csdn.net/luonanqin/article/details/8497860
MongoDB stand-alone installation

Install 1 MongoDB entities, using either a development machine or a server, as an example of the Windows operating system:

    • Download and unzip MongoDB, I use the version of mongodb-win32-x86_64-2008plus-2.4.9 decompression path D:\mongodb
    • Enter D:/mongodb to create a folder configuration folder (mongoconf), create a file mongoconf.conf file, open the configuration with a text editor as follows

#IP地址
bind_ip=127.0.0.1Port=27017 #端口dbpath=D:\Mongodb\mydata #数据文件路径logpath=D:\Mongodb \mongodb.log #日志文件路径logappend= #日志累加trueJournal= #auth=false #用户验证false
    • [Install MongoDB service], enter CMD as Administrator type D:-"CD D:/mongodb/bin-" Mongod-f D:\mongodb\mongoconf\mongoconf.conf--servicename "My Mongodb "--install
    • After the service installation is complete, you can see "Mymongodb" in the service and run the service.
    • The tool Mongovue can be viewed after the run is complete

MongoDB primary, secondary, quorum node cluster installation

-----will be updated tomorrow.

Example: MongoDB cluster configuration process

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.