elasticsearch 7 安装


elasticsearch 安装
操作系统:CentOS Linux release 7.4
elasticsearch:elasticsearch-7.1.1
es7+centos7

1.软件下载
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.1.1-linux-x86_64.tar.gz

2.修改/etc/hosts
192.168.42.40 cs1
192.168.42.45 cs2
192.168.42.46 cs3

3.cs1,cs2,cs3修改elasticsearch.yml
cluster.name: mmm
node.name: cs1
network.host: 0.0.0.0
discovery.seed_hosts: ["cs1", "cs2","cs3"]
cluster.initial_master_nodes: ["cs1","cs2","cs3"]
http.cors.enabled: true
http.cors.allow-origin: "*"

4.启动elasticsearch
cd /usr/local/es7
./bin/elasticsearch

5.安装elasticsearch-head
elasticsearch-head是es的客户端工具

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM