我的环境
PHP7 操作系统 mac开始用
install php70-mongodb
一直报错 :dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
最后解决
brew reinstall php70-mongodb --build-from-source
curl -XPUT localhost:9200/_cluster/settings -d '{ "transient" : { "cluster.routing.allocation.disk.watermark.low" : 0.97 }}' curl -XPOST http://localhost:9200/logstash-2017.12.12/teacher_api_log -d'{"name":"tom","age":21,"info":"tom"}'curl -XPUT localhost:9200/_cluster/settings -d '{ "transient" : { "cluster.routing.allocation.disk.threshold_enabled" : false }}'
brew 安装:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"