step: 1. Create a new vi docker-compose.yml 2. Add the following code to the yml file: version: "3.1" services: elasticsearch: image: daocloud.io/library/elasticsearch:6.5.4 restart: always container_name: elasticsearch ports: - 9200:9200 #Map the tokenizer to volumes inside the container: - ./ik:/usr/share/elasticsearch/plugins/ik kibana: image: daocloud.io/library/kibana:6.5.4 restart: always container_name: kibana ports: -5601:5601 environment: #Fill in the IP address of the virtual machine here - elasticsearch_url=http://192.168.199.109:9200 depends_on: - elasticsearch 3. Press Esc : wq to save and exit the yml file 4. Create a new ik folder in the current directory (at the same level as docker-compose.yml) 5. Install the unzip software: yum install zip 6. Copy elasticsearch-analysis-ik-6.5.4.zip to the virtual machine (it is recommended to use MobaXterm_Personal software, directly pull the compressed package from the local computer to the virtual machine), and execute the decompression command in the directory where the copied elasticsearch-analysis-ik-6.5.4.zip is located unzip elasticsearch-analysis-ik-6.5.4.zip -d /usr/local/elasticsearch/ik 7. Return to the directory where the newly created docker-compose.yml file is located and execute the command: docker-compose up -d In this way, elasticsearch and kibana tokenizers are installed! ! ! Moreover, kibana is installed inside the docker container and will not disappear due to the execution of the docker down command. This is the end of this article on how to install the kibana tokenizer inside a docker container. For more information about installing the kibana tokenizer on docker, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Vue3 encapsulates the side navigation text skeleton effect component
>>: How to install and deploy MySQL 8.0 under CentOS8
CSS Clear Default Styles The usual clear default ...
vue-router has two modes hash mode History mode 1...
Table of contents Global variable globalData Page...
Install MySQL 8.0 docker run -p 63306:3306 -e MYS...
Business social networking site LinkedIn recently...
Configuring network connectivity for Linux system...
Simply put, distinct is used to remove duplicates...
Since my development environment is to install Ce...
This article shares a draggable login box impleme...
When working on a recent project, I found that th...
Table of contents 1. Introduction 2. Usage Statel...
1. First stop the mysql service As an administrat...
Table of contents 1. Four concepts 1. JavaScript ...
Table of contents Introduction to Samba Server Sa...
mysql query with multiple conditions Environment:...