下载
https://www.elastic.co/cn/downloads/past-releases/elasticsearch-7-6-2
解压
tar -zxvf elastics***
修改配置文件
vi ./config/elasticsearch.yml
# 设置节点名称
node.name: node-1
# 初始化主节点
cluster.initial_master_nodes: ["node-1"]
# 允许远程访问
network.host: 0.0.0.0
启动服务
-
正常启动
./bin/elastisearch
-
静默启动
./bin/elastisearch -d