Table of Contents
How to Install MongoDB on Centos 7 ?
Introduction: It is one of the poplar opensource document-oriented database that provides high performance, high availability, and automatic scaling.
MongoDB provide following important key features,
High Performance
Rich Query Language
High Availability
Horizontal Scalability
Multiple Storage Engine
This repository contains following packages,
[button color=”” size=”” type=”square” target=”” link=””]mongodb-org
mongodb-org-server
mongodb-org-mongos
mongodb-org-shell
mongodb-org-tools[/button]
vi /etc/yum.repos.d/mongodb.repo
Add following repos in it.
[button color=”” size=”” type=”square” target=”” link=””][mongodb-org-3.4]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.4/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.4.asc[/button]
wq!
For versions of MongoDB earlier than 3.0
[button color=”” size=”” type=”square” target=”” link=””][mongodb-org-2.6]
name=MongoDB 2.6 Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1[/button]
#yum install mongodb-org
Once done with the error free installation, start mongod service
#systemctl start mongod
If you made chagnes then reload mongodb service
#systemctl reload mongodb
When you’re running a business that relies on website traffic and sales to succeed. Then you need to keep it…
Migration! Yes, this word is very big in the web hosting industry and it has its importance. Especially for businesses…
The server is the backbone of the web hosting industry and it acts like a HERO in the web hosting…
Imagine you are on holiday having a cup of tea and browsing your website or blog.Then, what next?You will get…
The web hosting industry is growing every minute, day, and year. It has many terminologies that are important to understand…