Install MONGODB on LINUX/CENTOS

MongoDB is that the fast and extremely ascendable information that accepts RDBMS systems which offer structured schemas and dominant queries. MongoDB is extremely motivating info, as a result of it\’s extremely tremendous options like quick, in-place update,auto sharding for cloud level quantifiability etc. For understanding mongodb you can follow the step-by-step process.

Step 1: Packages configuration

Step2:  Edit packages

Step 3: Install mongo db

Step 4: Edit yum configure file

Step 5: Start service

Step 6: Restart services

To start the configuration of mongodb you can refer the below steps:

Step 1: Packages configuration:

Mongo-10gen-server

Mongo-10gen

Step 2:  Edit configuration packages

Create vi /etc/yum.repos.d/mongodb.repo

For 64-bit system[mongodb]name=MongoDB Repositorybaseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/gpgcheck=0enabled=1for 32-bit system[mongodb]

name=MongoDB Repository

baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686/

gpgcheck=0

enabled=1

Step 3:  Install mongo db

#yum install mongo-10gen mongo-10gen-server

Step 4:  Add the following line /etc/yum.conf file

#vi  /etc/yum.conf

exclude=mongo-10gen,mongo-10gen-server

Step 5:  Start mongo services

#service mongod start

Check services

#chkconfig mongod on

Step 6:  Stop services

#service mongod stop

Restart mongodb

#service mongod restart

For more Detail you can watch Video :

Both comments and pings are currently closed.

Comments are closed.

Copyright ©Solutions@Experts.com
Copyright © NewWpThemes Techmark Solutions - www.techmarksolutions.co.uk