MongoDB Enterprise Installation on RHEL6 64bit from rpms

6:31 PM

1. Configure repo

[hostname_mongodb ~]# vi /etc/yum.repos.d/mongodb.repo
[mongodb-enterprise]
name=MongoDB Enterprise Repository
baseurl=https://repo.mongodb.com/yum/redhat/$releasever/mongodb-enterprise/stable/$basearch/
gpgcheck=0
enabled=1

2. Install packages via yum

[hostname_mongodb ~]#  yum install mongodb-enterprise*

Dependencies Resolved
=====================================================================================================================================================================
 Package                                        Arch                        Version                                  Repository                                 Size
=====================================================================================================================================================================
Installing:
 mongodb-enterprise                             x86_64                      3.0.3-1.el6                              mongodb-enterprise                        4.7 k
 mongodb-enterprise-mongos                      x86_64                      3.0.3-1.el6                              mongodb-enterprise                        4.0 M
 mongodb-enterprise-server                      x86_64                      3.0.3-1.el6                              mongodb-enterprise                        8.4 M
 mongodb-enterprise-shell                       x86_64                      3.0.3-1.el6                              mongodb-enterprise                        4.1 M
 mongodb-enterprise-tools                       x86_64                      3.0.3-1.el6                              mongodb-enterprise                         32 M
Installing for dependencies:
 cyrus-sasl-gssapi                              x86_64                      2.1.23-15.el6_6.2                        rhel-x86_64-server-6                       34 k
Updating for dependencies:
 cyrus-sasl                                     x86_64                      2.1.23-15.el6_6.2                        rhel-x86_64-server-6                       78 k
 cyrus-sasl-lib                                 x86_64                      2.1.23-15.el6_6.2                        rhel-x86_64-server-6                      136 k
 cyrus-sasl-md5                                 x86_64                      2.1.23-15.el6_6.2                        rhel-x86_64-server-6                       47 k
 cyrus-sasl-plain                               x86_64                      2.1.23-15.el6_6.2                        rhel-x86_64-server-6                       31 k
Transaction Summary
=====================================================================================================================================================================


3. Start MongoDB and check the log to verify

[hostname_mongodb ~]# service mongod start
[hostname_mongodb ~]# cat /var/log/mongodb/mongod.log
[hostname_mongodb ~]# chkconfig mongod on

4. Login to shell

[hostname_mongodb ~]# mongo

You Might Also Like

1 comments

  1. Thanks for sharing such a great information..Its really nice and informative.

    MongoDB Training Centers in Chenai

    ReplyDelete

Contact Form

Name

Email *

Message *

Translate

Wikipedia

Search results