Saturday , November 23 2024

How To Install Kibana On Centos

In this article I will tell the installation of Kibana on Centos 7. Before reading this article, I suggest you read the following article about Kibana.

What is Kibana

Installation Steps

Java Installation

First, we are installing java. To install Java you must download the file that is compatible with your system from the link below. If you have already installed, you can skip this step.

https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Since we are going to install on 64 bit linux system, we are downloading the file below.

Then we create a folder like below to install java. The Java installation is done under the usr/bin folder by default. I’ll make installation in the folder I’ll create below for easier use.

as root:

We extract the downloaded java files into the /opt/jdk directory and ensure that the java works from this directory.

We set JAVA_HOME using the following commands.

Kibana Installation

You can download the installation file from the link below.

https://www.elastic.co/downloads/kibana

Since we will install on CENTOS, we download the RPM package and copy it to the server.

You can go to the directory where you copied the RPM package on the server and install Kibana using the following command.

as root:

If you have internet access via the server, you can perform Kibana installation as below.

Necessary Configurations After Installation

Enable kibana service

We enable kibana service using the command below.

We are editing the kibana.yml file which is the elasticsearch configuration file using the command below.

After opening the file, we configure it as follows. If there is # at the beginning of the line, this line is a comment line or contains an inactive configuration information.

Note: I recommend that you read the lines beginning with #. Because I’ve written some notes.

Do not copy the below yml file. Just change the necessary parameters according to your system.

Start the Kibana

Then, we start the kibana service and check the status.

Check the service status

When you check the status of the service, you may encounter an error as follows.

FATAL  Error: EACCES: permission denied, rmdir ‘/usr/share/kibana/optimize/bundles/src/ui’

In this case, run the following commands to restart the kibana service.

Then, you may encounter another error as follows.

Browserslist: caniuse-lite is outdated. Please run next command npm update caniuse-lite browserslist

We’re running the following command as it tells us, and then we execute the command below and restart it.

Open Kibana

After Kibana installation is completed, you can open a browser and connect as follows.

IP:Port

Loading

About dbtut

We are a team with over 10 years of database management and BI experience. Our Expertises: Oracle, SQL Server, PostgreSQL, MySQL, MongoDB, Elasticsearch, Kibana, Grafana.

Leave a Reply

Your email address will not be published. Required fields are marked *