Elasticsearch.安装(单节点)
环境Linux 7.x
jdk 1.8
elasticsearch 5.x
环境目录结构(根目录多了两个文件夹):
/resources /** 存放下载的文件 **/
/u01/app /** 安装elasticsearch的目录. **/
在linux的终端执行指令:
# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.5.2.tar.gz
相关指令:
# tar -zxf elasticsearch-5.5.2.tar.gz -C /u01/app
# cd !$
# mv elasticsearch-5.5.2 elasticsearch
# cd !$
# sh ./bin/elasticsearch -d