ElasticSearch license过期由trial更改为为basic
ElasticSearch license过期由trial更改为为basic
·
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
更多推荐
已为社区贡献3条内容
所有评论(0)