노우!쑤
[ElasticSearch]8.0 본문
설치
- 다운로드
- 설치
- 비밀번호 확인
--------------------------- Security autoconfiguration information ------------------------------
Authentication and authorization are enabled.
TLS for the transport and HTTP layers is enabled and configured.
The generated password for the elastic built-in superuser is : XXXX
If this node should join an existing cluster, you can reconfigure this with
'/usr/share/elasticsearch/bin/elasticsearch-reconfigure-node --enrollment-token <token-here>'
after creating an enrollment token on your existing cluster.
You can complete the following actions at any time:
Reset the password of the elastic built-in superuser with
'/usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic'.
Generate an enrollment token for Kibana instances with
'/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana'.
Generate an enrollment token for Elasticsearch nodes with
'/usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s node'.
-------------------------------------------------------------------------------------------------
Start Elasticsearch with security enabled
username : elasric
password : XXXX
Data/Log Path 변경
# /etc/elasticsearch/elasticsearch.yml
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data: /data01/elasticsearch
#
# Path to log files:
#
path.logs: /data01/elasticsearch/log
계정 비밀번호 초기화
# /usr/share/elasticsearch/bin
./elasticsearch-reset-password -u kibana
참고.
'DevOps' 카테고리의 다른 글
[ElasticSearch]8.0 Metricbeat (0) | 2022.03.11 |
---|---|
[ElasticSearch]8.0 키바나 설치 (0) | 2022.03.11 |
[docker] 이미지 경로 변경 (0) | 2022.03.10 |
[파일시스템]FAT32, exFAT, and NTFS? (0) | 2022.03.08 |
[nGrinder]설치 (0) | 2022.02.18 |