Mongodbyumsourceinstall1: createmongodb. repocdetcyum. repos. dIfyouarerunninga64-bitsystem, usethefollowingconfiguration: [mongodb] nameMongoDBRepositorybaseurldownloads-distro.mongodb.orgreporedhatosx86_64
Mongodb yum source install 1: create mongodb. repo cd/etc/yum. repos. d/If you are running a 64-bit system, use the following configuration: [mongodb] name = MongoDB Repository baseurl = http://downloads-distro.mongodb.org/repo/redhat/ OS /x86_64/
Mongodb yum source install
1: create mongodb. repo
Cd/etc/yum. repos. d/
If you are running a 64-bit system, use the following configuration:
[Mongodb]
Name = MongoDB Repository
Base url = http://downloads-distro.mongodb.org/repo/redhat/ OS /x86_64/
Gpgcheck = 0
Enabled = 1
If you are running a 32-bit system which is not recommended
For production deployments, use the following configuration
[Mongodb]
Name = MongoDB Repository
Base url = http://downloads-distro.mongodb.org/repo/redhat/ OS /i686/
Gpgcheck = 0
Enabled = 1
2: InstallPackages
Yum install mongo-10gen mongo-10gen-server
3: start \ stop service
1: service producer D start \ restart \ stop
2: Enter the bin directory under the installation directory to run the server./mongod -- datapath/adkfw -- port 27017 client:./mongo localhost: 27017