02、elasticsearch.yml

cluster.name: clusterName
node.master: true
node.data: true
node.ingest: true
http.cors.enabled: true
http.cors.allow-origin: "*"
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers: X-Requested-With, X-Auth-Token, Content-Type, Content-Length, Authorization
node.name: node-1
# 在一臺機器上最多啓動的節點數
node.max_local_storage_nodes: 1
path.data: /usr/local/elasticsearch-6.2.1/data/
path.logs: /usr/local/elasticsearch-6.2.1/logs/
#綁定的網卡IP
network.host: 0.0.0.0
http.port: 9200
transport.tcp.port: 9300
#action.auto_create_index: .security,.monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*
xpack.security.enabled: false
發佈了57 篇原創文章 · 獲贊 59 · 訪問量 4萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章