Linux version: CentOS7
Kibana version: 5.6.2
First thing to do: Turn off the firewall.
Centos7 with "Service Firewalld stop"
CENTOS6 with "Service iptables stop"
Download the corresponding RPM package on the official website and upload it to the/data/kibana5.6.2 path via WINSCP (see my Elasticsearch installation tutorial for details here: http://blog.51cto.com/13769141/2152971)
Elk Official Website Download kibana5.6.2 address, need to choose RPM and 32-bit or 64-bit
https://www.elastic.co/downloads/past-releases/kibana-5-6-2
Install Kibana by doing the following:
If you go well, the installation Kibana is over and you can test the connectivity between Elasticsearch and Kibana.
But I had a problem with the CENTOS7 when I started the installation today.
[[email protected] ~]# cd /usr/share/kibana/bin/[[email protected] bin]# ./kibana
When performing the above operation shows the lack of "libstdc++.so.6", so can not start, through the "Yum check libstdc++", it is possible to find out which package contains this thing, and then Yum installed on the line.
For example I find out, is libstdc++-4.8.5-28.el7_5.1.i686 contains libstdc++.so.6, installed.
[[email protected] data]# yum install libstdc++-4.8.5-28.el7_5.1.i686
Back to execute./kibana is no problem.
About the configuration of Kibana
If it is installed on the virtual machine Kibana, want to open the Kibana page on their own windows, you need to change the configuration file, and shut down the firewall , the article began to write how to shut down the firewall.
Kibana configuration file under/etc/kibana path
[[email protected] ~]# cd /etc/kibana/[[email protected] kibana]# lskibana.yml[[email protected] kibana]# vi kibana.yml
Find the two most basic configurations inside
server.port:5601
This just removes the previous # number, which is the Kibana communication port.
Server.host: "192.168.198.131"
Here not only to remove the #, but also to change the address in the quotation marks to your own virtual machine IP address, I here is 192.168.198.131, so you can enter http://192.168.198.131:5601 in the Windows browser to access the Kibana page.
Installing Kibana on Linux