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
The detailed steps for installing mysql5.7.19 on ...
Types of joins 1. Inner join: The fields in the t...
Table of contents 1. Introduction 2. Simple epoll...
1. Change the Host field value of a record in the...
During the project, I started using the js reques...
Table of contents Overview Problem Description Ci...
MySQL is a relational database management system ...
Table of contents Overview Why choose a framework...
Canal is an open source project under Alibaba, de...
Due to work reasons, it is often not possible to ...
Table of contents Linux 1. Basic use of crontab 2...
When it comes to bionic design, many people will t...
Standardized design solutions - markup languages ...
1. Install shadowsocks sudo apt-get install pytho...
question The code has no prompt: Many non-front-e...