安装 6.3.1
1 | curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.3.1.tar.gz |
配置外网访问,编辑config/elasticsearch.yml
文件,添加1
network.host: 0.0.0.0
安装分词插件 elasticsearch-analysis-ik1
./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.3.1/elasticsearch-analysis-ik-6.3.1.zip