Centos7 安装 Elasticsearch

1 · NineHolic · Nov. 16, 2021, 4 p.m.
Elasticsearch 是一个高度可伸缩的开源全文搜索和分析引擎。它可以快速和接近实时地存储、搜索和分析大量数据 1、安装 Elasticsearch # 下载安装 wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.12.0-x86_64.rpm rpm -ivh elasticsearch-7.12.0-x86_64.rpm 修改 ES 配置文件 elasticsearch.yml:vim /etc/elasticsearch/elasticsearch.yml cluster.name: scientific-research node.name: node-1 network.host: 192.168.0.250 http.port: 9200 cluster.initial_master_nodes: ["node-1"] # 设置开机自启 systemctl enable elasticsearch.service # 启动elasticsearch systemct...