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