One, kibana
1. Pull mirror
pull kibana Docker: 6.7.0
Docker ImagesRF Royalty Free view mirror // id
2. Start container
docker run --name mykibana -e ELASTICSEARCH_URL=http://Your Elasticsearch where ip: 9200 -p 5601: 5601 -d kibana: 6.7.0
Docker PS // see if a successful start
access:
Current kibana where ip: 5601
The page appears:
Kibana server is not ready yet
DESCRIPTION fails to be allocated, followed by a third step
note:
At this time, we must ensure that you are able to access the elasticsearch! ! !
At this time, we must ensure that you are able to access the elasticsearch! ! !
At this time, we must ensure that you are able to access the elasticsearch! ! !
3. Modify the configuration file
docker exec -it mykibana /bin/bash
cd config/
vi kibana.yml
The elasticsearch to modify elasticsearch.hostsip where you elasticsearch
Then save and exit, exit the container, the container restart
exit
docker restart mykibana
Revisit kibana (ip: 5601)
UI interface appears as shown to the installation is successful
Kibana a pit on the installation of:
Best not to elasticsearch and kibana installed on the same server, especially student Ali cloud server, because the memory is not enough servers, both running will spend a lot of memory, the memory is not likely to cause the two can not start at the same time, I would encountered this problem, I spent a lot of time to view errors
Second, install IK tokenizer
Installation IK word is very simple. First check elasticsearch sure you have enabled the container, and then directly into the interior of the container through the command to download.
docker ps
docker exec -it ES_02
elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.7.0/elasticsearch-analysis-ik-6.7.0.zip
After the download is complete restart of the container that is successfully installed
exit
docker restart ES_02