How to MongoDB Installatıon on Centos

What is MongoDB?
MongoDB (“humongous”); is a scalable, document-oriented, open source, NoSQL database application developed with C ++. MongoDB is especially used in structures that require speed and where traditional relational databases (RDBMS) remain cumbersome and slow. MongoDB can work in C, C # .NET, C ++ Erlang, Java, JavaScript, Ruby, Perl, Pyton, Node.JS. In MongoDB, the data is stored in JSON format. MongoDB can be run on Linux, Windows, MacOS and Solaris operating systems. For more information about MongoDB, we recommend you to review the address below.

What is JSON?
JSON (JavaScript Object Notation) is a lightweight data exchange format. It is easy for people to read and write. The machines are easy to scan and create. The JavaScript Programming Language is built on a subset of its version. JSON is a data definition format that is completely independent of programming languages, but very similar to C-derived languages ​​(C, C ++, C #, Java, JavaScript, Perl, Python and many more). For more information about JSON, we recommend you to review the address below.

What is NoSQL?
NoSQL is a concept for database management systems that differ in some way from conventional relational database management systems. Examples of relational databases include MySQL, Microsoft SQL Server, Oracle, PostgreSQL, IBM DB2, and so on. databases are examples of RDBMS, ie relational databases.

NoSQL databases are designed on the precondition to bring this daha very large ”data faster because there is no need to relationally store data because of the methods of storing the data. In other words, it is difficult to find, filter, process and retrieve data between related tables, such as traditional databases. The Relational Model retrieves the data and stores it in columns / rows in related tables. For example, a NoSQL database that uses the “Document Store” model stores each set of incoming data in JSON format as a separate database object. Data security is not yet as advanced as RDBMS, but it is faster than RDBMS databases in terms of high accessibility, read and write performance.

Therefore, it is used by companies such as Twitter, Facebook, Adobe and eBay where uncontrolled growth is experienced and speed is the first priority, not in applications where data security is the first priority in transactions such as banking. HBase, BigTable, Druid, Hypertable, KAI, KDI, OpenNeptune, Qbase, Objectivity / DB, Perst, Shoal, ZopeDB, Apache Cassandra, MongoDB, OrientDB, Redis, NoSQL. For more information, we recommend that you check the address below.

This article describes how to install MongoDB on Linux Centos 6 servers.

Before installation, you can add MongoDB repo to your server using any text editor.

vim /etc/yum.repos.d/mongodb.repo

name = MongoDB Repository<br>
baseURL = http: //<br>
gpgcheck = 0<br>
enabled = 1

MongoDB Installation

yum install mongo-10gen mongo-10gen-server -y

Start MongoDB Service

service mongod start

Summary List and Status Statistics


MongoDB Introduction to the Command Line


MongoDB to be active after boot

chkconfig mongod on

MongoDB Version Control

mongo --version