How to Install MongoDB 3.2 on CentOS 7

vim /etc/yum.repos.d/mongodb.repo Paste this to the file and save using :wq [MongoDB] name=MongoDB Repository baseurl=http://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/ gpgcheck=0 enabled=1 Download and install mongodb using yum yum install mongodb-org -y Start mongod and configure auto start while system boot /etc/init.d/mongod restart chkconfig mongod on Check all the versions [root@juzhax ~]# mongo –version MongoDB shell version: 3.2.3 [root@juzhax ~]# Continue reading “How to Install MongoDB 3.2 on CentOS 7”