WARNING: Version 4.5 of Kibana has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Installing Kibana with apt and yum
editInstalling Kibana with apt and yum
editBinary packages for Kibana are available for Unix distributions that support the apt
and yum
tools.
We also have repositories available for APT and YUM based distributions.
Since the packages are created as part of the Kibana build, source packages are not available.
Packages are signed with the PGP key D88E42B4, which has the following fingerprint:
4609 5ACC 8548 582C 1A26 99A9 D27D 666C D88E 42B4
Installing Kibana with apt-get
edit-
Download and install the Public Signing Key:
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
-
Add the repository definition to your
/etc/apt/sources.list.d/kibana.list
file:echo "deb http://packages.elastic.co/kibana/4.5/debian stable main" | sudo tee -a /etc/apt/sources.list
Use the
echo
method described above to add the Kibana repository. Do not useadd-apt-repository
, as that command adds adeb-src
entry with no corresponding source package. When thedeb-src
entry, is present, the commands in this procedure generate an error similar to the following:Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file)
Delete the
deb-src
entry from the/etc/apt/sources.list.d/kibana.list
file to clear the error. -
Run
apt-get update
and the repository is ready for use. Install Kibana with the following command:sudo apt-get update && sudo apt-get install kibana
-
Configure Kibana to automatically start during bootup. If your distribution is using the System V version of
init
, run the following command:sudo update-rc.d kibana defaults 95 10
-
If your distribution is using
systemd
, run the following commands instead:sudo /bin/systemctl daemon-reload sudo /bin/systemctl enable kibana.service
Installing Kibana with yum
editThe repositories set up in this procedure are not compatible with distributions using version 3 of rpm
, such
as CentOS version 5.
-
Download and install the public signing key:
rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
-
Create a file named
kibana.repo
in the/etc/yum.repos.d/
directory with the following contents:[kibana-4.5] name=Kibana repository for 4.5.x packages baseurl=http://packages.elastic.co/kibana/4.5/centos gpgcheck=1 gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch enabled=1
-
Install Kibana by running the following command:
yum install kibana
Configure Kibana to automatically start during bootup. If your distribution is using the System V version of
init
(check withps -p 1
), run the following command:chkconfig --add kibana
-
If your distribution is using
systemd
, run the following commands instead:sudo /bin/systemctl daemon-reload sudo /bin/systemctl enable kibana.service