ES安装
官网获取指定版本的ES
https://www.elastic.co/guide/en/elasticsearch/reference/7.0/getting-started-install.html
解压 tar -zxvf xxxx
修改 elasticsearch.yml
cluster.name: lzk_es
node.name: node-1
path.data: /opt/module/elasticsearch/data
path.logs: /opt/module/elasticsearch/log
network.host: 192.168.241.101
http.port: 9200
cluster.initial_master_nodes: [“192.168.241.101”]
discovery.zen.ping.unicast.hosts: [“192.168.241.101”, “192.168.241.102”,“192.168.241.103”]
kibana 安装
wget https://artifacts.elastic.co/downloads/kibana/kibana-7.0.1-linux-x86_64.tar.gz
配置 kibana.yml
server.port: 5601
server.host: “192.168.241.101”
elasticsearch.hosts: [“http://192.168.241.101:9200”,“http://192.168.241.102:9200”,“http://192.168.241.103:9200”]
kibana.index: “.kibana”
i18n.locale: “zh-CN”
浏览器打开 http://192.168.241.101:5601/