There are a few ways to install Kibana, but the best way is probably via your system's default package manager. It's one of the easier methods and allows you to easily manage and update your Kibana installation.

Kibana's yum / dnf repository is provided Elastic (the company behind the Elastic Stack). You can install Kibana on CentOS, RHEL or Fedora by adding the repository to your system and to then install the package using yum or dnf.

Steps to install Kibana on CentOS, RHEL or Fedora:

  1. Create repository file for ELK.
    $ sudo tee /etc/yum.repos.d/elasticsearch.repo <<EOF
    name=Elasticsearch repository for 7.x packages
  2. Download and install public signing key for ELK repository.
    $ sudo rpm --import
  3. Install Kibana package using dnf or yum.
    $ sudo dnf install --assumeyes kibana
    Last metadata expiration check: 21:29:04 ago on Sat 01 May 2021 07:34:39 AM +08.
    Dependencies resolved.
     Package         Architecture    Version             Repository                  Size
     kibana          x86_64          7.12.1-1            elasticsearch-7.x          273 M
    Transaction Summary
    Install  1 Package
    Total download size: 273 M
    Installed size: 690 M
    ##### snipped
  4. Open Kibana configuration file using your preferred text editor.
    $ sudo vi /etc/kibana/kibana.yml
  5. Uncomment and configure to allow connection from remote hosts. "" 
  6. Uncomment and specify Elasticsearch server to connect to.
    elasticsearch.hosts: [""]
  7. Configure firewall to enable network access to port 5601
    $ sudo firewall-cmd --add-port=5601/tcp --permanent
  8. Reload firewall rules and keep state information.
    $ sudo firewall-cmd --reload
  9. Start Kibana service.
    $ sudo systemctl start kibana
  10. Configure Kibana service to automatically start during boot.
    $ sudo systemctl enable kibana
    Synchronizing state of kibana.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
    Executing: /usr/lib/systemd/systemd-sysv-install enable kibana
    Created symlink /etc/systemd/system/ → /etc/systemd/system/kibana.service.
  11. Access Kibana dashboard from browser.
    $ curl -L
    <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta name="viewport" content="width=device-width"/><title>Elastic</title><style>
            @font-face {
              font-family: 'Inter UI';
              font-style: normal;
              font-weight: 100;
    ##### snipped
Discuss the article:

Comment anonymously. Login not required.