CentOS Installation MongoDB

Original quote: http://blog.chinaunix.net/uid-24250828-id-3770298.htmlOfficial website:http://www.mongodb.org/MongoDB installation, master-slave configurationOne MongoDB installationClick (here) to collapse or openYum install wget #选y online

MongoDB Shard Configuration

#本次配置时间为 2014-11-06 software version: mongodb-linux-x86_64-2.4.3.tgzLinux:centos 5.9 64bit##############################################################This deployment of shards is only for the test environment: #10.8.10.234 10.8.10.235 10.8.10.236 #

MongoDB Video Tutorial

Course Catalogue:01-mongodb Document Type Database features introduction02-MONGODB installation Process03-mongo Library Table Operation statements04-curd Operation detailed05-Drill-down query expression06-Cursor Operation07-Index08-User Management09-

"MongoDB" Windows platform build MONGO database replica set (similar cluster) (ii)

In our previous blog, we focused on how to build a MongoDB replica set under the Windows platform. Detailed Blog Address:As space is limited in the previous article did not verify the results, in this blog we mainly test:Through the Rs.status ()

"MongoDB" the Access control of MongoDB

In this blog we mainly talk about the access control including limitation of IP, setting listen port and usage of username and password. In the official document, MongoDB server start without the argument, so once the connection is created, the

PHP operation MongoDB API most methods

PHP/*PHP MongoDB * All curd operation * @author: Xiaojiang * @date: 2014-10-27*///view Mongo class version 1.30 later versions using Mongoclient//mongo::version;/*Connection*/ $m=NewMongo ("Mongodb://cms:[email protected]:55555/banggocms");

MongoDB Operations Manual CRUD transaction Two-step commit

perform a two-step commit OverviewThis section provides a multi-record update or multi-record transaction, using a two-step commit to complete a multi-record write template. In addition, this method can be extended to provide rollback-like

MONGO Master (Master)/slave (slave) database synchronization under "MongoDB" windows

In the previous series of articles, we described the basic operations of MongoDB, advanced queries, and the use of indexes. This blog mainly describes how the Windows system to create master-slave database synchronization;Need to start two MongoDB

MongoDB Open and close

MongoDB's Open Default startup:$./mongodb Default data save path:/data/db/default port: 27017To Modify the default path: --dbpath$./mongdb--dbpath/mongodb/point the data storage location to a directory of your own/mongodb/To Modify the default port:-

MongoDB Tutorial Lesson 17th mongodb Common Command Database command Collection Operations Command

(1) Database commandsA) Add user db.adduser (' name ', ' pwd ')b) Delete user db.removeuser (' name ')c) User authentication Db.auth (' name ', ' pwd ')d) Copy database, copy db.copydatabase from Test library (' Test ', ' mydb ')e) Delete Database

The use of the "MongoDB Tutorial 12th Lesson" PHP MongoDB

MongoDB not too much introduction, NoSQL One, is a document-oriented database, with its convenient and flexible data structure, for developers is relatively friendly, and the speed of query is relatively fast, and now a lot of sitesStart using

Using Mongoose to manipulate MongoDB in Bae

Using Mongoose to manipulate MongoDB in BaeAlmost all of the examples on the web using mongoose are long-connected, because the relationship between the Nodejs itself mechanism, the use of long connections to some extent will improve performance,

Large skip problem, count problem in MongoDB and MySQL

Large SkipWhen paging the data, it is generally necessary to skip how many records and limit how many records, such as in MySQL: SELECT * from large_table ORDER by ' id ' LIMIT 10000, 30 This process is slow because the database needs to be

ODS Project--mongodb Import Script

MongoDB Import Script#!/bin/shEcho"${0} Import data to MongoDB"Tagfile="/srv/mss_data/dim_customerex_mobile_stat_ ' Date +%y%m%d-d"-1 Day"'. Log"Impdatafile="/srv/mss_data/dim_customerex_mobile_stat_ ' Date +%y%m%d-d"-1 Day"'.

Linux system MongoDB Master-Slave mode configuration

First, the environmentOperating system:# uname-r2.6.32-358.el6.x86_64# Cat/etc/issuecentos Release 6.4 (Final) Kernel \ r on an \mMaster: 192.168.137.148From: 192.168.137.154Second, master-slave synchronization system time#ntpdate ntp.api.bz &&

MongoDB Import Export Backup restore

MongoDB database is also inseparable from the necessary maintenance, such as backup, recovery, import, export.In fact, backup and recovery is easier than import and export, and generally does not make mistakes, so most of the time using backup and

Using Mongovue to perform mapreduce operations on MongoDB

Step 1Open Mongovue and connect to the server that contains the collection "Cities"Step 2Right-click on "Cities" collection under "Database Explorer", and select "MapReduce". This would launch the MapReduce view.Step 3Write the JavaScript code for

MongoDB Tool Magicmongodbtool

Magic MongoDB tool Tools is a MongoDB database Management Tools For simple database management work. This tool developed for the Chinese, Project address: Magicmongodbtool, currently the author has completed the basic function development. It is a

MongoDB: Change database location (Windows)

The default database directory for MongoDB in Windows is C:\Data. If you run Mongod.exe directly without the directory, the following error is reported:In some cases, we do not want to put MongoDB database on the C disk, there are two ways to switch

Linux Platform MongoDB Database installation

With Ruiy brother to play with it; 1, turn off SELinux (Ruiy, according to experience, Red Hat's selinux erection is a mistake, remember that no matter what the structure of the first to shut down is it); 2, set iptables release port=27017; 3,

Total Pages: 409 1 .... 163 164 165 166 167 .... 409 Go to: GO

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.