install

How to Install MongoDB 3.2 on CentOS 7

[code lang="shell"] vim /etc/yum.repos.d/mongodb.repo [/code] Paste this to the file and save using :wq [code lang="shell"] [MongoDB] name=MongoDB Repository baseurl=http://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/ gpgcheck=0 enabled=1 [/code] Download and install mongodb using yum [code lang="shell"] yum install mongodb-org -y [/code] Start mongod and configure auto start while system boot [code lang="shell"] /etc/init.d/mongod restart chkconfig mongod on [/code] Check all

How to Install MongoDB 3.2 on CentOS 7 Read More »