1.环境准备

  • Centos 7.8
  • ElasticSearch 7.9.2

2.步骤

2.1 开启试用license
curl -H "Content-type:application/json" -X POST http://localhost:9200/_xpack/license/start_trial?acknowledge=true -u username:password
2.2 查看license
curl -X GET http://localhost:9200/_xpack/license -u username:password
2.3 开启basic license (修改license)
curl -H "Content-type:application/json" -X POST http://localhost:9200/_xpack/license/start_basic?acknowledge=true -u username:password

参考: https://blog.csdn.net/qq_18746961/article/details/118183450

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐