[Latest] docker installation elasticsearch + kibana [The second step] _kibana

   This article explains Docker install and set up Chinese language kibana

  [If there is a need to install elasticsearch friend venue bloggers first article]

 Ado!

 The first step: docker download kibana

docker pull kibana:6.8.1

  Note ELK versions to be unified, otherwise there will be problems!

 

  Step Two: Start kibana and associated elasticsearch

docker run -it -d -e ELASTICSEARCH_URL=http://127.0.0.1:9200 --name kibana --network=container:elasticsearch kibana

  Note that the red mark to be replaced with docker mirror images id ID that is otherwise unsuccessful start

  View Mirror id

docker images

  

  Therefore, the above statement should be changed to start

docker run -it -d -e ELASTICSEARCH_URL=http://127.0.0.1:9200 --name f324cd2a2163 --network=container:446946b24cdd f324cd2a2163

  

  Step Three: Start a successful visit kibana address

  http: // your IP: 5601 / app / kibana

 

  Step Four: You can see kibana English page, and now we have to set to Chinese, into the interior of the container kibana

docker exec -it [your image id] / bin / bash

  

  Step Five: Edit kibana.yml

we /usr/share/kibana/config/kibana.yml

  I18n.locale added in the last line: zh-CN note that there is a space behind the colon

 

 

   Step Six: Exit kibana container

exit

  

  Step seven: Restart kibana container

docker restart [your container id]

  

  Step eight: Re-visit kibana page

    

   We can see already installed and set up Chinese kibana show. 

   Finally: the code word is not easy, if this article help you, what trouble spots recommended, thank you, welcome all friends message exchange, we will study together and progress together!

 

 

Guess you like

Origin www.cnblogs.com/wbl001/p/11257390.html