centos elasticsearch 【2】安装插件

部分配置

cluster.name: eslasticsearch
node.name: es_01
#主节点
node.master: true
#集群最大节点数
node.max_local_storage_nodes: 3
# 监听集群的节点,为本机,所以两个IP相同
discovery.seed_hosts: ["192.168.1.131","192.168.1.131"]
#选举es_01为主节点,填入为es_01的ip地址
cluster.initial_master_nodes: ["192.168.1.131:9201"]
gateway.recover_after_nodes: 2
#设置允许跨域
http.cors.enabled: true
http.cors.allow-origin: "*"

1.


2.

打赏

看恩吧
网站不承担任何有关评论的责任
  • 最新评论
  • 总共条评论
取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦