elasticsearch安装
参考官方文档,安装包下载位置 https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html#install-rpm
- 如果单机部署,需要修改配置文件, 注释掉集群配置 /etc/elasticsearch/elasticsearch.yml
# cluster.initial_master_nodes: ["localhost"]
并重启elasticsearch
systemctl restart elasticsearch
使用rpm包安装时, 会自动给elastic用户创建密码, 如果需要手动配置密码,使用如下命令, 期间会让输入密码
[root@localhost ~]# /usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic -i
This tool will reset the password of the [elastic] user.
You will be prompted to enter the password.
Please confirm that you would like to continue [y/N]y
Enter password for [elastic]:
Re-enter password for [elastic]:
Password for the [elastic] user successfully reset.
标签:reset,elastic,rpm,EFK,elasticsearch,password,安装,调试
From: https://www.cnblogs.com/forlive/p/18428949