CrownCloud Wiki

CrownCloud - Internet Services

User Tools

Site Tools


how_to_install_mongodb_on_centos

How to install MongoDB on CentOS

This guide will work only on CentOS 6 and 7,

nano /etc/yum.repos.d/mongodb-org-3.2.repo

Add the following to the file,

[mongodb-org-3.2]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc

Then install mongoDB,

yum install -y mongodb-org
how_to_install_mongodb_on_centos.txt · Last modified: 2016/09/27 22:24 by speedbus