下载tar包
1 | wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.0.0-linux-x86_64.tar.gz |
增加elastic用户
1 | adduser elastic |
解压包到elastic用户下
supervisor增加配置
1 | [supervisord] |
minfds=65535 ; min. avail startup file descriptors; default 1024
minprocs=4096 ; min. avail process descriptors;default 200
elasticsearch插件安装
1 | ./elasticsearch-7.0.0/bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.0.0/elasticsearch-analysis-ik-7.0.0.zip |
安装之后重启生效