Add apt repository and install mongodb-10gen.
- ubuntu
- debian
- ubuntu 12.04(precise)
- OpscodeCookbook[apt]
update your mongodb.conf values
update your mongodb_config.conf values
update your mongos.conf values
- Add 10gen official repository and install newer stable mongodb.
- disable autostart when install or serverboot.
- setup mongodb single node.
- setup mongodb config node.
- setup mongodb router(mongos) node.
Print information to prompt.
Usage: cp {mongo_dir}misc/mongorc.js ~/.mongorc.js
# mongo
MongoDB shell version: 2.0.4
connecting to: test
s01:PRIMARY:[2.0.4] >
Author:: HiganWorks LLC ([email protected])