本系列的目标是在本地搭建一个Elasticsearch的服务集群,通过在阿里云服务器搭建FRP通道对外提供服务,为小规模应用提供一种高性价比的解决思路。
系列内容:
木杉入门Elasticsearch(1):ESXI虚拟机安装CentOS
木杉入门Elasticsearch(2):虚拟机IP地址配置
木杉入门Elasticsearch(3):Docker安装
木杉入门Elasticsearch(4):Docker安装Elasticsearch
木杉入门Elasticsearch(5):Elasticsearch安装IK分词插件
木杉入门Elasticsearch(6):Docker安装Kibana
木杉入门Elasticsearch(7):FRP的安装和配置
1)访问分词项目
https://github.com/medcl/elasticsearch-analysis-ik
2)分词插件版本
https://github.com/medcl/elasticsearch-analysis-ik/tags
3)安装分词插件
进入es容器
docker exec -it es /bin/bash
./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.6.2/elasticsearch-analysis-ik-7.6.2.zip
[root@abdb7c83a699 bin]# elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.6.2/elasticsearch-analysis-ik-7.6.2.zip
-> Installing https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.6.2/elasticsearch-analysis-ik-7.6.2.zip
-> Downloading https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.6.2/elasticsearch-analysis-ik-7.6.2.zip
[=================================================] 100%??
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: plugin requires additional permissions @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.net.SocketPermission * connect,resolve
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
Continue with installation? [y/N]y
-> Installed analysis-ik