MongoDB Documentation, Release 3.0.4 • mongodb-org-shell • mongodb-org-tools [mongodb-org-3.0] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.0/x86_64/ gpgcheck=0 enabled=1 [mongodb-org-2.6] name=MongoDB 2.6 Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/ gpgcheck=0 enabled=1 Use the following repository to install only versions of MongoDB for the 3.0 release. If you’d like to install MongoDB packages from a particular release series (page 924), such as 2.4 or 2.6, you can specify the release series in the repository configuration. For example, to restrict your system to the 2.6 release series, create a /etc/yum.repos.d/mongodb-org-2.6.repo file to hold the following configuration information for the MongoDB 2.6 repository: .repo files for each release can also be found in the repository itself$^{2}$. Remember that odd-numbered minor release versions (e.g. 2.5) are development versions and are unsuitable for production use. Use the following repository file to specify the latest stable release of MongoDB. Step 1: Configure the package management system ( yum ). Create a /etc/yum.repos.d/mongodb-org-3.0.repo file so that you can install MongoDB directly, using yum . Changed in version 2.6: The package structure and names have changed as of version 2.6. For instructions on instal- lation of an older release, please refer to the documentation for the appropriate version. Considerations This installation guide only supports 64-bit systems. See Platform Support (page 809) for details. The default /etc/mongod.conf configuration file supplied by the 3.0 series packages has bind_ip set to 127.0.0.1 by default. Modify this setting as needed for your environment before initializing a replica set . As of version 3.0.4, there are no control scripts for mongos . The mongos process is used only in sharding (page 667). You can use the mongod init script to derive your own mongos control script for use in such environments. See the mongos reference for configuration details. The package configures MongoDB using the /etc/mongod.conf file in conjunction with the control scripts. See the Configuration File reference for documentation of settings available in the configuration file. Control Scripts The mongodb-org package includes various control scripts , including the init script /etc/rc.d/init.d/mongod . These scripts are used to stop, start, and restart daemon processes. This package contains the following MongoDB tools: mongoimport bsondump , mongodump , mongoexport , mongofiles , mongooplog , mongoperf , mongorestore , mongostat , and mongotop . This package contains the mongo shell. Install MongoDB $^{2}$https://repo.mongodb.org/yum/redhat/ Chapter 2. Install MongoDB 14