1. first to the official website ( http://www.mongodb.org/downloads Download the appropriate installation package, the current version is 2.6 zip and msi format, recommended here to download zip format ,msi
1), download MongoDB http://downloads.mongodb.org/win32/mongodb-win32-i386-2.4.5.zip 2), set the MongoDB directory to unzip it to D:\, and then rename it to MongoDB , Path is D:\mongodb 3), set data file path in D: Disk to build a data folder, new
Mongo DB is a non-relational database (NOSQL) that is currently very popular in the IT industry, and its flexible data storage methods are highly favored by current it practitioners. Mongo DB is a good implementation of object-oriented thinking (Oo
Original link http://www.cnblogs.com/zhangzili/p/4975080.htmlMongoDB knowledge points at a glance1. Start the MongoDB database:Go to the MongoDB installation directory and execute the following commandC:\Program
MongoDB replication is very easy to configure, in fact, there are two ways, one is a master-slave replication, one is a copy set, the former benefits are easy to configure, but if the primary server is down, the entire system crashes, the latter
Inserting more than one test data> for (i=1;i... db.blog.insert ({"title": I, "content": "MongoDB Test article. "," name ":" Liu "+i});... }Db.blog.list.find (). Limit ((). ForEach (function (data) {print ("title:" +data.title);}) Cyclic foreach
OverviewThe above two blog is about the configuration of MongoDB cluster, not related to distributed, the blog is to write MongoDB distributed, a whole, divided into multiple slices, each piece deployed to a different server, this is MongoDB
Recently, the boss has arranged a task to solve the installation problem of Linux, make the following notes so that the next installation configuration:--------------------deployment project on Linux-------------------1. Unzip the appropriate
? I. master-slave replication • A. Primary server: ~/work/mongodb-osx-x86_64-2.6.2/bin/mongod--dbpath./db/--logpath./log--logappend--fork --port 27017--master--oplogsize=64 • B. from the server:./mongod--dbpath. /db/--logpath.
Start MongoDB
Yesterday, according to the official example to do, did not specify any of their own parameters, completely using the MONGO default path and parameters to install, if there is no root, the default path of the database can not be
Original http://blog.sina.com.cn/s/blog_685213e70101g81t.html
Install MongoDB (initial)
1. Download Http://www.mongodb.org/downloads According to the operating system.
2. In D disk, create a new MongoDB folder (this folder is a custom database
We can view all the parameter descriptions of Mongod through Mongod--help, and the following is the Chinese explanation of each parameter.
Basic Configuration
Copy Code code as follows:
–quiet
# quiet Output
–port Arg# Specify the
Because of the recent exposure to a project that calls Sina Weibo's open interface, you want to try Python invoke the microblogging API.
SDK Download Address: Http://open.weibo.com/wiki/SDK code is not more than more than 10 k, can be read
Description
Operating system: CentOS 5.X 64-bit
IP Address: 192.168.21.128
To achieve the purpose:
Install Configuration MongoDB Database
Specific actions:
First, close the SELinux, configure the firewall
1, Vi/etc/selinux/config
#SELINUX
In the blogger's bullying for everyone to do a little sharing, hereby affirms that Bo Master product very simple is a bully, absolutely no inducements.
Due to the mongodb of the relevant Chinese information is less, then if there is a chance to
MongoDB is a cross-platform, document-oriented database that delivers high performance, high availability, and scalability. MongoDB work in the collection and document concept.
Database
A database is a collection of physical containers. Each
1. Download installation package
wget http://downloads.mongodb.org/linux/mongodb-linux-x86_64-3.0.1.tgz?_ga=1.96171865.475907078.1449151064Because this MongoDB website downloads very slow, so I did not download through the wget way, I was
Mongodb-org
The package is a metadata package, the following 4 package packages will be installed automatically when installed
Mongodb-org-server
The package contains the Mongod daemon, the associated configuration, and
the initial script
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.