Ailab数据迁移手记1-目标服务初始化安装
Created|Updated
|Post View:
Elasticsearch 服务器迁移 目标服务初始化安装
服务安装
1 | sudo yum install java-1.8.0-openjdk-devel |
修改配置
修改绑定ip和端口
1 | vim /etc/elasticsearch/elasticsearch.yml |
1 | network.host: 0.0.0.0 |
修改Kibana配置
1 | vim /etc/kibana/kibana.yml |
1 | server.host: "0.0.0.0" |
安装插件
安装阿里oss备份插件
1 | wget https://github.com/aliyun/elasticsearch-repository-oss/releases/download/v5.5.3/elasticsearch-repository-oss-5.5.3.zip |
安装ik分词
1 | wget https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v5.5.3/elasticsearch-analysis-ik-5.5.3.zip |
重启es,插件生效
1 | /usr/share/elasticsearch/bin/elasticsearch-plugin list |
Author: cx
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment