# jdk 설치
apt update
apt install -y openjdk-8-jdk
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
apt update
apt install elasticsearch
curl -XGET localhost:9200
systemctl status elasticsearch
현재 elasticsearch가 꺼져있어서 상태가 안뜨는 모습(ES는 메모리를 많이 차지하기 때문에 RAM을 4-8G로 늘려주고 키는 것을 추천함)
ES 활성화
systemctl start elasticsearch
# jdk 설치
apt update
apt install -y openjdk-8-jdk
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
apt update
apt install kibana
vi /etc/kibana/kibana.yaml
server.host: "키바나가 설치된 컴퓨터의 IP"
systemctl restart kibana
웹브라우저로 확인
http://키바나가설치된컴퓨터IP:5601/