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