Install Kibana on CentOS and RHEL

Pradeep Pandey
Feb 9 · 2 min read
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
cat > /etc/yum.repos.d/kibana.repo <<EOF
[kibana-6.x]
name=Kibana repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
EOF
[root@kibana ~]# yum install kibana-oss -y
[root@kibana ~]# vi /etc/kibana/kibana.yml 
server.host: "10.142.0.17"
# The URL of the Elasticsearch instance to use for all your queries.
elasticsearch.url: "http://elasticsearch_ip:9200"
[root@kibana ~]# systemctl enable kibana
Created symlink from /etc/systemd/system/multi-user.target.wants/kibana.service to /etc/systemd/system/kibana.service.
[root@kibana ~]# systemctl start kibana
Pradeep Pandey

Written by

Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), Pg-Diploma in It Infrastructure System and Security

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade