es启动报错html
缘由是x-pack的license过时,下载一个免费的license就能够了json
下载的时候要写邮箱app
下载好以后 curl
curl -XPUT -u elastic 'http://<host>:<port>/_xpack/license' -H "Content-Type: application/json" -d @license.json
参照:https://www.elastic.co/guide/en/x-pack/current/installing-license.html#installing-licenseide