Centos7 Elasticsearch安装部署 1.导入密匙 rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch 2.在线下载rpm安装包,并安装(离线自行下载) # 使用wget下载 wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.4.rpm # 安装 rpm -ivh elasticsearch-6.2.4.rpm 3.修改配置 vim /etc/elasticsearch/elasticsearch.yml network.host: 192.168.0.208 http.port: 9200 4.启动ES systemctl daemon-reload && systemctl enable elasticsearch && systemctl start elasticsearch 5.查看启动是否成功(最好等待一分钟在查询) netstat -plntu |grep 9200 6.下载中文分词插件 cd /usr/share/elasticsearch/bin/ ./elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.2.4/elasticsearch-analysis-ik-6.2.4.zip