随笔分类 -  ElasticSearch

摘要:future versions of Elasticsearch will require Java 11; your Java version from [/usr/local/jdk1.8.0_1/jre] does not meet this requirement 使用ES7版本时,启动或者 阅读全文
posted @ 2022-01-09 12:29 二月无雨 编辑
摘要:一、开启密码验证 1、修改elasticsearch.yml文件,重启ES #允许head插件等访问的相关设置 http.cors.enabled: true http.cors.allow-origin: "*" http.cors.allow-headers: Authorization,X-R 阅读全文
posted @ 2022-01-09 12:09 二月无雨 编辑
摘要:1、ElasticSearch不能使用root用户启动 Caused by: java.lang.RuntimeException: can not run elasticsearch as root 解决方法: sudo adduser elsearch sudo passwd elsearch 阅读全文
posted @ 2022-01-04 18:00 二月无雨 编辑

点击右上角即可分享
微信分享提示