curl 相关命令
es:
curl -xget http://127.0.0.1:9200/index/_doc/id 单条索引
curl -xget http://127.0.0.1:9200/_cat/count/index 索引文档数
限制返回数量超过10000
curl --user user:password -XPUT -H 'Content-Type:application/json' http://es-ip:9200/index/_settings -d '{ "index" : { "max_result_window" : 100000000}}'
jdk8 限制jce安全策略
curl -q -L -C - -b "oraclelicense=accept-securebackup-cookie" -o /tmp/jce_policy-8.zip \ -O http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip \ && unzip -oj -d ${JAVA_HOME}/jre/lib/security /tmp/jce_policy-8.zip \*/\*.jar \ && rm /tmp/jce_policy-8.zip