[elk@es-kibana ~]$ /usr/local/elasticsearch-7.3.0/bin/elasticsearch
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
[2024-09-25T10:22:58,431][INFO ][o.e.e.NodeEnvironment ] [es-kibana] using [1] data paths, mounts [[/ (/dev/sda2)]], net usable_space [72.6gb], net total_space [77.4gb], types [xfs]
[2024-09-25T10:22:58,437][INFO ][o.e.e.NodeEnvironment ] [es-kibana] heap size [990.7mb], compressed ordinary object pointers [true]
[2024-09-25T10:22:58,470][INFO ][o.e.n.Node ] [es-kibana] node name [es-kibana], node ID [_NKb2cc4R7WgX9_ZaXfWzA], cluster name [my-application]
[2024-09-25T10:22:58,471][INFO ][o.e.n.Node ] [es-kibana] version[7.3.0], pid[2007], build[default/tar/de777fa/2019-07-24T18:30:11.767338Z], OS[Linux/3.10.0-1160.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/11.0.20/11.0.20+9-LTS-256]
......
2.3 交互式依次设置 ES 内置用户密码(它会提示你依次设置内置用户 如 elastic、kibana、logstash_system 等 的密码)
[root@es-kibana ~]# /usr/local/elasticsearch-7.3.0/bin/elasticsearch-setup-passwords interactive
Initiating the setup of passwords for reserved users elastic,apm_system,kibana,logstash_system,beats_system,remote_monitoring_user.
You will be prompted to enter passwords as the process progresses.
Please confirm that you would like to continue [y/N]y
Enter password for [elastic]:
Reenter password for [elastic]:
Enter password for [apm_system]:
Reenter password for [apm_system]:
Enter password for [kibana]:
Reenter password for [kibana]:
Enter password for [logstash_system]:
Reenter password for [logstash_system]:
Enter password for [beats_system]:
Reenter password for [beats_system]:
Passwords do not match.
Try again.
Enter password for [beats_system]:
Reenter password for [beats_system]:
Enter password for [remote_monitoring_user]:
Reenter password for [remote_monitoring_user]:
Changed password for user [apm_system]
Changed password for user [kibana]
Changed password for user [logstash_system]
Changed password for user [beats_system]
Changed password for user [remote_monitoring_user]
Changed password for user [elastic]