Installing Influxdb on Centos 8

Installing Influxdb on Centos 8

Hello colleagues.

In today's article I will tell you how to install Inluxdb on Linux. At the moment, the latest version of the Influxdb time series database is 2.1.

InfluxDB is a time series database (TSDB) developed by InfluxData, which has become increasingly popular in recent years. It has become one of the references for engineers wishing to implement real-time monitoring. Influxdb is usually used in conjunction with Grafana. And Telegraf is the client for transferring metrics.

I showed the installation of Grafana in a previous article Installing Grafana on Centos 8

This article is suitable for system administrators, engineers and developers.


The content of the article:

  1. About the Server.
  2. Adding the Influxdb repository.
  3. Install Influxdb.
  4. Open the Influxdb port on the Firewall.
  5. We start Influxdb.
  6. Open web interface in browser.


1. About the Server.

In today's article, I will be using Centos 8.



2. Adding the Influxdb Repository

Since Influxdb is not shipped with Centos 8 by default, we need to add the Influxdb repository. To do this, create a file influxdb.repo in the /etc/yum.repos.d directory

$. sudo vim /etc/yum.repos.d/influxdb.repo

Add to file:

name = InfluxDB Repository - RHEL $releasever
baseurl =$releasever/$basearch/stable
enabled = 1
gpgcheck = 1
gpgkey =

After we save the file and exit.


3. Install Influxdb.

After adding the Influxdb repository, you can proceed to install Influxdb. To install, use the command:

$. sudo yum install influxdb2

We agree and install.


4.Open the Influxdb port on the Firewall.

After installing Influxdb, you need to open port 8086 to access the web interface.

$. sudo firewall-cmd --zone=public --add-port=8086/tcp --permanent
$. sudo firewall-cmd --reload


5. We start Influxdb.

To start Influxdb use the command:

$. sudo service influxdb start


6. Open the web interface in the browser.

After installation and launch, it's time to test how it works in the browser. In the browser, enter the address in my case

HOORAY! Earned.

Then it will ask you to fill out a simple form with a username and password for subsequent authorization and that's it.

Click Continue.



Thank you all, I hope my article was of some help to you.


MariaDB/MySQL Monitoring, Telegraf installation. Part 1
MariaDB/MySQL Monitoring, Telegraf installation. Part 1
Read more
InfluxDB authentication and authorization
InfluxDB authentication and authorization
Read more
InfluxDB how to create a database
InfluxDB how to create a database
Read more