centos安装说明(源码安装):
进入MongoDB下载中心:http://www.mongodb.org/downloads
We recommend using these binary distributions (官方推荐使用二进制版本!)
根据自己的实际系统环境,下载所要的文件,我的是Linux 64-bit.
wget http://fastdl.mongodb.org/linux
...
Oracle Database 10g on other Linux Distributions
People recommended this installation guide for:
WhiteBox Linux 3
Works exactly like on RHEL AS 3.
Mandrake 10.0 Community Edition
Some files/pac
...
==(官方已经不推荐这种方式)==
正常安装好2台机器的mongodb
一般数据库都会用到这种最通用的模式——主从模式.这种方式简单灵活,可用于备份、故障恢复,读扩展.为了平衡负载,一般通过读写分离模式,即主库写、从库读.
主配置文件:
more /usr/local/mongo/mongodb.conf
dbpath=/data/db
logpath=/var/log/mongod.log
l
...
最新评论