Saturday, February 25, 2017

Install Kibana 5.0 on Centos 6.8

Steps to install Kibana 5.0 on Centos 6.8

Prerequisite

Kibana 5.0 will require java version 1.8.0_73 you can use either oracle JDK or OpenJDK, you can run this to install OpenJDK version
yum install java-1.8.0-openjdk

Install ElasticSearch

Download and Install Public Signing Key
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
Then use the following script to create a file called ELK5.repo on /etc/yum.repos.d and fill it with ELK 5.0 repository information
echo '[ELK-5.x]
name=ELK repository for 5.x packages (Elasticsearch, Kibana, Logstash)
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
' | sudo tee /etc/yum.repos.d/ELK5.repo
then continue to install kibana
sudo yum install kibana

Test Installation

Now you can start kibana using
service kibana start
and test it using
service kibana status
the result would be like this if the kibana server is successfully run
[root@localhost ~]# service kibana status
kibana is running
Other way to test it is by hitting the kibana site on ipaddress:5601 (based on default configuration, kibana will use port 5601)

No comments :

Post a Comment