Mongodb file-based NoSQL Systems & Windows and Linux security tutorial

Source: Internet
Author: User
In the past, because Ben was a big developer, he stepped into the NoSQL world that I have been very interesting but I have never been very familiar, the first NoSQLSystem (which is currently the only one) I received is Mongodb. I have read many articles about NoSQL, I also think that NoSQL is much different from general SQL, and only after Mongodb is connected can I find the actual two.

In the past, because Ben was a big developer, he stepped into the NoSQL world that I have been very interesting but I have never been very familiar, mongodb is the first NoSQL System I have received. I have read many articles about NoSQL, I also think that NoSQL is much different from general SQL, and only after Mongodb is connected can I find the actual two.

In the past, because Ben was a big developer, he stepped into the NoSQL world that I have been very interesting but I have never been very familiar, mongodb is the first NoSQL System I have received. I have read many articles about NoSQL, I also think that NoSQL is much different from general SQL. In fact, only after Mongodb is connected to Mongodb is found, the two are very similar, but they are somewhat different in principle, it is also effective and better. However, NoSQL cannot handle what some SQL statements can do. This part depends on your requirements and requirements, noSQL is not part of this article. This article describes how to install Mongodb on Windows.

Mongodb is a NoSQL program developed by 10gen zookeeper. It is a file-based resource system, that is to say, each of your Mongo resources will be stored in the database in the form of a "shopping case". If you want to delete the information, you can simply drop the example. In addition, it supports multiple operating systems. Currently, the most common operating systems are Windows, Mac, and Linux, in addition, many programming languages Support Mongodb, such as the famous PHP, C ++, Python, and ,. NET, Java and so on, the list of zookeeper support can be taken into this network (http://www.mongodb.org/display/DOCS/Drivers)

In addition, one of the major features of Mongodb is that its compaction method is very similar to Javascript. You can use many Javascript Compaction Methods in your Mongo command, you can also use the escape circle and criterion in the for (var I = 0; I

You can also directly use various Javascript objects in Mongod, such as Date.

Mongodb Information
  • Official Website: http://www.mongodb.org/
  • Bottom plane: http://www.mongodb.org/downloads
  • Educational documents: http://www.mongodb.org/display/DOCS/Home
  • SQL & Mongodb application table: http://www.mongodb.org/display/DOCS/ SQL +to+Mongo+Mapping+Chart
Mongodb features
  • File-based NoSQL
  • Javascript
  • High Performance
  • Easy-to-understand Routing
Install Mongodb on Windows and Linux

1. first, go to the lower-level modules of Mongodb to download the main program you need. Note that 32-bit and 64-bit Yuan are different. After the next steps are completed, the primary program will be released, there is a bin data warehouse in which the event is moved to C: \ WINDOWS.

If you want to install the file on Linux, please move the file in bin to/usr/bin.

2. create a data resource in the root category (C: \) of the system, and then create the database in the data, this resource is used to store data for mongodb.

Linux:

Sudo mkdir-p/data/db

Sudo chown 'id-U'/data/db

3. so far, even if the security check is complete, open CMD and then upload mongod. This is the meaning of activating the mongodb server, the backend can meet many different requirements.

4. the receiver opens another CMD window and then enters mongo. This is the Shell that triggers Mongodb. You can directly control Mongodb on this window, when the device is connected to the local D Server, if you want to upload the Device D to another computer, you can access [mongo ip/dbname 〕, for example, when the consumer receives the test token of 200.0.0.15, it will be merged into: mongo 200.0.0.15/test. If the Port of the specified Mongod Server changes, it can be merged into [mongo ip: port/dbname 〕

5. in the end, you can add the bin/mongod program to the on-premises auto-scaling line. However, if you want to enable the program to start the auto-scaling line, security Settings

Original article address: Mongodb file-type NoSQL Systems & Windows, Linux security tutorial, thanks to the original author for sharing.

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.