1、安裝 JDK
root@deepin:~# apt-get update
root@deepin:~# apt-get install default-jdk
root@deepin:~# java --version
2、安裝 elasticsearch
root@deepin:~# wget https://mirrors.huaweicloud.com/elasticsearch/7.5.2/elasticsearch-7.5.2-amd64.deb
root@deepin:~# dpkg -i elasticsearch-7.5.2-amd64.deb
其他版本請訪問:Elasticsearch 國內映象站
3、安裝 ik
分詞器
root@deepin:~# wget https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.5.2/elasticsearch-analysis-ik-7.5.2.zip
root@deepin:~# mkdir /usr/share/elasticsearch/plugins/ik
root@deepin:~# mv elasticsearch-analysis-ik-7.5.2.zip /usr/share/elasticsearch/plugins/ik/
root@deepin:~# cd /usr/share/elasticsearch/plugins/ik/
root@deepin:~# unzip elasticsearch-analysis-ik-7.5.2.zip
其他版本請訪問:Elasticsearch IK分詞器
4、啟動 elasticsearch
root@deepin:~# systemctl start elasticsearch
root@deepin:~# systemctl status elasticsearch
root@deepin:~# curl localhost:9200
5、安裝 kibana
root@deepin:~# wget https://artifacts.elastic.co/downloads/kibana/kibana-7.5.2-amd64.deb
root@deepin:~# dpkg -i kibana-7.5.2-amd64.deb
其他版本請訪問:Kibana 下載
6、啟動 kibana
root@deepin:~# systemctl start kibana
瀏覽器訪問網址:http://localhost:5601/app/kibana
本作品採用《CC 協議》,轉載必須註明作者和本文連結