엘라스틱서치 & 키바나 설치 (Window)
엘라스틱서치 설치
https://www.elastic.co/guide/en/elasticsearch/reference/7.10/zip-windows.html
Install Elasticsearch with .zip on Windows | Elasticsearch Guide [7.10] | Elastic
The system environment variable JAVA_HOME should be set to the path to the JDK installation that you want the service to use. If you upgrade the JDK, you are not required to the reinstall the service but you must set the value of the system environment var
www.elastic.co
bin 폴더 : 엘라스틱서치 실행 파일을 포함하여 플러그인 설치나 키 생성 등의 실행 작업을 위한 파일들
config 폴더 : 엘라스틱서치 설정 파일(elasticsearch.yml)을 포함하여 설정에 관한 파일들이 들어있다.
실행
.\bin\elasticsearch.bat
동작 확인 (브라우저/명령어)
curl -X GET "localhost:9200/?pretty"
키바나 설치
https://www.elastic.co/guide/en/kibana/7.10/windows.html
Install Kibana on Windows | Kibana Guide [7.10] | Elastic
Install Kibana on Windowsedit Kibana can be installed on Windows using the .zip package. This package is free to use under the Elastic license. It contains open source and free commercial features and access to paid commercial features. Start a 30-day tria
www.elastic.co
bin 폴더 : 키바나 실행 파일과 플러그인 설치 같은 실행 관련 파일들이 있다.
config 폴더 : 키바나 설정 파일(kibana.yml)과 기타 설정 관련 파일들이 있다.
.\bin\kibana.bat
kibana 실행 중 발생 오류
log [08:25:01.568] [fatal][root] Error: Unable to write Kibana UUID file, please check the uuid.server configuration value in kibana.yml and ensure Kibana has sufficient permissions to read / write to this file. Error was: EPERM
at writeUuidToFile (C:\Users\kibana-7.10.2-windows-x86_64\kibana-7.10.2-windows-x86_64\src\core\server\environment\resolve_uuid.js:112:11)
FATAL Error: Unable to write Kibana UUID file, please check the uuid.server configuration value in kibana.yml and ensure Kibana has sufficient permissions to read / write to this file. Error was: EPERM
-> 관리자 권한으로 실행하면 해결
반드시 엘라스틱서치를 먼저 실행하고 나서 키바나를 실행해야 한다.
localhost:5601 치면 이 화면이 나오면 된다.
라이센스 확인
최초 설치 시 자동으로 베이직 라이선스가 활성화