MongoDB is an open-source fast, reliable and the leading NoSQL database, Written in C++.
In my this article the steps to install MongoDB on Red Hat Enterprise Linux, CentOS Linux, Fedora Linux and related systems.
MongoDB Packages:
The MongoDB downloads repository contains two packages:
Create a /etc/yum.repos.d/mongodb.repo file to hold the following configuration information for the MongoDB repository:
If you are running a 64-bit system, use the following configuration:
#vi /etc/yum.repos.d/mongodb.repo
[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1
If you are running a 32-bit system, use the following configuration:
#vi /etc/yum.repos.d/mongodb.repo
[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686
gpgcheck=0
enabled=1
Install Packages:
Now install mongodb packages by Yum:
#yum install mongo-10gen mongo-10gen-server
After completes this command, you have successfully installed MongoDB
Start MongoDB
#service mongod start
You may optionally ensure that MongoDB will start following a system reboot by issuing the following command:
#chkconfig mongod on
For any query please feel free to contact me my email ID is sashwatkatore@gmail.com.
In my this article the steps to install MongoDB on Red Hat Enterprise Linux, CentOS Linux, Fedora Linux and related systems.
MongoDB Packages:
The MongoDB downloads repository contains two packages:
1. mongo-10gen-server
This package contains the mongod and mongos daemons from the latest stable release.
2. mongo-10gen
This package contain all MongoDB tools from the latest stable release.
Install MongoDB:
Configure Package Management System using YUM:Create a /etc/yum.repos.d/mongodb.repo file to hold the following configuration information for the MongoDB repository:
If you are running a 64-bit system, use the following configuration:
#vi /etc/yum.repos.d/mongodb.repo
[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1
If you are running a 32-bit system, use the following configuration:
#vi /etc/yum.repos.d/mongodb.repo
[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686
gpgcheck=0
enabled=1
Install Packages:
Now install mongodb packages by Yum:
#yum install mongo-10gen mongo-10gen-server
After completes this command, you have successfully installed MongoDB
Start MongoDB
#service mongod start
You may optionally ensure that MongoDB will start following a system reboot by issuing the following command:
#chkconfig mongod on
For any query please feel free to contact me my email ID is sashwatkatore@gmail.com.
No comments:
Post a Comment