赞
踩
1)打开elasticsearch.yml文件
2)在底部添加
xpack.security.enabled: true xpack.license.self_generated.type: basic xpack.security.