Elasticsearch 安装方法
1、操作系统版本CentOS Linux release 7.6.1810 (Core)

2、准备jdk1.8的环境变量

3、准备好rpm包 elasticsearch-6.6.1.rpm

4、rpm -ivh elasticsearch-6.6.1.rpm

5、安装完成后会生成主配置文件elasticsearch.yml

6、vim /etc/elasticsearch/elasticsearch.yml
7、如果是单机版配置下面两个参数即可,数据和日志目录可配可不配
network.host: 10.x.x.x
http.port: 9200

8、启动并验证进程
systemctl start elasticsearch

阅读量:121
阅读量:193
阅读量:20
阅读量:58
阅读量:130