MongoDB Replica Set集群搭建最少需要3台服务器。现在假设有三台服务器,IP分别是:
192.168.0.81 192.168.0.82 192.168.0.83
一、在三台服务器上搭建MongoDB
参考CentOS Linux下安装MongoDB 3.0安装。
Continue reading
MongoDB Replica Set集群搭建最少需要3台服务器。现在假设有三台服务器,IP分别是:
192.168.0.81 192.168.0.82 192.168.0.83
一、在三台服务器上搭建MongoDB
参考CentOS Linux下安装MongoDB 3.0安装。
Continue reading
一、下载、编译以及安装MongoDB的php扩展
cd /data0/software git clone git://github.com/mongodb/mongo-php-driver cd mongo-php-driver git submodule init git submodule update /usr/local/webserver/php/bin/phpize ./configure --with-php-config=/usr/local/webserver/php/bin/php-config make make install