器量大者,福泽必厚
全部博文(587)
发布时间:2013-06-18 13:12:18
1:下载mongodb的php扩展地址:http://pecl.php.net/package/mongo2:我下载的版本为mongo-1.4.1.tgz : tar zxvf mongo-1.4.1.tgz cd mongo-1.4.1 /usr/local/webserver/php/bin/phpize ./configure --with-php-config=/usr/local/webserver/php/bin/php-co.........【阅读全文】
发布时间:2013-05-24 15:44:02
[root@varnish1 ~]# cat mongo.sh.bak #!/bin/shecho "db.serverList.find({status:\"0\"},{ip:1,\"_id\":0})" | mongo loldbRtmp | grep ip >/root/ip.txtif [ -s /root/ip.txt ] ; thenecho "It has errors" >/root/mongodbstatus.txt/bin/awk -F\" '{ print $4}' /root/ip.txt>/root/proble.........【阅读全文】