MongoDB Windows Installation Services
MongoDB, as a database based on distributed file storage, has been in hot pursuit for nearly two years. Flexible access to data and efficient processing make it widely used in Internet applications.
Recently I
The author here is the MONGODB official website recommended to use. NET drive:
http://mongodb.github.io/mongo-csharp-driver/2.0/getting_started/quick_tour/
For MongoDB installation readers can refer to other blogs, for basic learning does not
Briefly describe how MongoDB is backed up:
1. Mogodump/mongorestore
These 2 commands mongodb the data into the Bson format and can be recovered when needed.This approach is also applicable as a small database. But if it's sharding or more than
MongoDB is currently the hottest NoSQL document database, it provides some good features: such as automatic failover mechanism, automatic sharding, modeless schemaless, most of the performance is also good. But in the deep use of mint in the process
MongoDB Community version and Enterprise version of the difference is mainly reflected in the security certification, system certification, and other aspects of specific information refer to the following table:
Version characteristics
By default, shutting down Shell,mongodb stops running.
If you want to run in the background, you can start by simply adding the--fork function.
You can add--logappend after the log path to prevent the log from being deleted.
Copy Code code
Version One:
Field
Example Value
Explanation
Host
te.rzw.com:27018
The port that the running instance listens to
Version
1.8.3
Version used by the current instance
Process
Read on an article, I believe we will know how to open MongoDB, this article on the next one of the additions and deletions, first when we use the same way to open MongoDB, suddenly
Dumbfounded, rub, unexpectedly opened, carefully observe the
I know that the relational database has permissions to control, what users can access what library, what table, what users can insert, update, and some users only read permissions.
For example: MySQL installation configuration, there is a MySQL
1, the security certification mode to start
Copy Code code as follows:
Bin/mongod?–auth?-dbpath/users/mc2/mongo/db-logpath/users/mc2/mongo/log.log &
You can enable authentication mode by starting the Mongod process with the –auth
This article will describe my installation MongoDB expansion process, we can have a little reference
Installation Environment
Linux Environment: CentOS 6.5Apache Version: 2.4PHP Version: 5.4.3MongoDB version: 2.6.5
First, download mongo-php
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
The example of this article describes the method of PHP operation MongoDB. Share to everyone for your reference. The specific analysis is as follows:
MongoDB database is a JSON format stored in the database, very suitable for a variety of
Copy Code code as follows:
This is the default connection to the local 27017 port, of course, you can also connect remote host such as 192.168.0.4:27017, if the port is 27017, the port can be omitted
$m = new Mongo ();
Select the comedy
I. PrincipleThe principle of Zabbix monitoring MongoDB is through echo "Db.serverstatus ()" | MONGO Admin to see the status of MongoDBTwo Server Configuration1) Add global variables for MONGO# vim/etc/profile.d/mongo.shExport Path=/usr/local/mongodb/
MongoDB Common commands:After the successful start of MongoDB, and then open a command line window input MONGO, you can do some of the database operations.Show DBS: Display database list use database name: Switch the current database, which is the
General backup strategy for MongoDB1 Cold Backup--Copy database files2 Mongodump/mongorestoreBesides Mongodump/mongorestore, there's a couple of mongoexport/mongoimport.Difference:Mongoexport/mongoimport Import/Export is in JSON format, and
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.