node v8.2.0
cnpm install phantomjs-prebuilt@2.1.16 --ignore-scripts
groupadd elsearch
useradd elsearch -g elsearch -p elasticsearch
chown -R elsearch:elsearch elasticsearch-5.6.1/
su elsearch
http.cors.enabled: true
http.cors.allow-origin: "*"
cluster.name: lhbjava
node.name: master
node.master: true
bootstrap.memory_lock: true
network.host: 0.0.0.0
http.port: 9201
transport.tcp.port: 9301
http.enabled: yes
discovery.zen.minimum_master_nodes: 1
discovery.zen.fd.ping_timeout: 120s
discovery.zen.fd.ping_retries: 6
discovery.zen.fd.ping_interval: 20s
discovery.zen.ping.unicast.hosts: ["47.94.152.121:9301"]
posted on 2017-12-27 16:22
长春语林科技 阅读(115)
评论(0) 编辑 收藏 所属分类:
util