CENTOS7 installation of MongoDB 3.6.6

Source: Internet
Author: User
Tags install mongodb mongodb

CENTOS7 Full installation of MongoDB 3.6.6mongodb Introduction

MongoDB is a database based on distributed file storage. Written by the C + + language. Designed to provide scalable, high-performance data storage solutions for Web applications.
MongoDB is a product between a relational database and a non-relational database, and is the most versatile and most like relational database in a non-relational database. The data structure it supports is very loose and is a JSON-like Bson format, so you can store more complex data types. The most important feature of MONGO is that the query language it supports is very powerful, its syntax is somewhat similar to object-oriented query language, it can implement most functions like relational database single table query, and it also supports indexing data.

Experimental steps to deploy the Yum source repository
vim /etc/yum.repos.d/mongod-org.repo[mongodb-org]name=MongoDB Repositorybaseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.6/x86_64/gpgcheck=1enabled=1gpgkey=https://www.mongodb.org/static/pgp/server-3.6.ascyum install mongodb-org -y执行安装vim /etc/mongod.confbindIp: 0.0.0.0             #监听地址port: 27017                 #监听端口systemctl start mongod.service   #开启服务netstat -anpt | grep 27017    #检查是否启动/usr/bin/mongodb.version()    #查看版本show dbs;      #查看数据库
Installation Complete

CENTOS7 installation of MongoDB 3.6.6

Related Article

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.