解压 配置elasticsearch.yml
vim config/elasticsearch.yml
配置的时候需要注意: 每行必须顶格, 不能有前置空格. “:”后面必须有一个空格!
# Use a descriptive name for your cluster:
# 同一个集群要去相同的集群名字
cluster.name: atguigu
# Use a descriptive name for the node:
# 当前节点名字
node.name: node-1
# Lock the memory on startup:
# 关闭自检程序
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
# Set the bind address to a specific IP (IPv4 or IPv6):
# 当前节点绑定的域名
network.host: hadoop102
# P