Welcome to our article on how to install InfluxDB on Fedora 34/33/32/31/30. InfluxDB is an open-source time series database written in Go. InfluxDB is optimized for fast, high-availability storage and retrieval of time series data for metrics analysis.

I had earlier written similar articles for CentOS 7 and Ubuntu/Debian Linux distributions:

Install InfluxDB on Ubuntu and Debian

Install Grafana and InfluxDB on CentOS 7

Install InfluxDB on CentOS 8

Follow the steps given in this article to get a working InfluxDB installation on Fedora.

Step 1: Add Influxdata RPM repository

Influxdata provides the repository for installing InfluxDB on Fedora. Add it to your system like below:


sudo tee /etc/yum.repos.d/influxdb.repo<<EOF
name = InfluxDB Repository - RHEL 
baseurl = https://repos.influxdata.com/rhel/7/x86_64/stable/
enabled = 1
gpgcheck = 1
gpgkey = https://repos.influxdata.com/influxdb.key

Step 2: Install InfluxDB on Fedora 34/33/32/31/30

Now that InfluxDB repository has been added to your system, you can proceed to install InfluxDB on Fedora:

sudo dnf install influxdb

When asked to import GPG key for the repository, press key

Importing GPG key 0x2582E0C5:
Userid : "InfluxDB Packaging Service <[email protected]>"
Fingerprint: 05CE 1508 5FC0 9D18 E99E FB22 684A 14CF 2582 E0C5
From : https://repos.influxdata.com/influxdb.key
Is this ok [y/N]: y

The version of InfluxDB installed can be confirmed using the rpmcommand:

$ rpm -qi influxdb
 Name        : influxdb
 Version     : 1.8.4
 Release     : 1
 Architecture: x86_64
 Install Date: Sat 10 Apr 2021 10:45:03 PM UTC
 Group       : default
 Size        : 174431824
 License     : Proprietary
 Signature   : RSA/SHA256, Tue 02 Feb 2021 01:01:46 AM UTC, Key ID 684a14cf2582e0c5
 Source RPM  : influxdb-1.8.4-1.src.rpm
 Build Date  : Thu 28 Jan 2021 10:31:21 AM UTC
 Build Host  : bf85fc4b5de4
 Relocations : /
 Packager    : [email protected]
 Vendor      : InfluxData
 URL         : https://influxdata.com
 Summary     : Distributed time-series database.
 Description :
 Distributed time-series database.

Step 3: Start and enable InfluxDB service

InfluxDB service is not started by default after installation. You need to start it manually.

sudo systemctl start influxdb

Also enable the service to start on OS boot up.

sudo systemctl enable influxdb

If the start was successful, the check on status should indicate “running”

$ sudo systemctl status influxdb
● influxdb.service - InfluxDB is an open-source, distributed, time series database
   Loaded: loaded (/usr/lib/systemd/system/influxdb.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-11-21 19:17:50 UTC; 1min 7s ago
     Docs: https://docs.influxdata.com/influxdb/
 Main PID: 11074 (influxd)
    Tasks: 8 (limit: 1149)
   Memory: 10.3M
   CGroup: /system.slice/influxdb.service
           └─11074 /usr/bin/influxd -config /etc/influxdb/influxdb.conf

Nov 21 19:17:51 fed29 influxd[11074]: ts=2018-11-21T19:17:51.321738Z lvl=info msg="Starting precreation service" log_id=0Bu>
Nov 21 19:17:51 fed29 influxd[11074]: ts=2018-11-21T19:17:51.321896Z lvl=info msg="Starting snapshot service" log_id=0Buw9k>
Nov 21 19:17:51 fed29 influxd[11074]: ts=2018-11-21T19:17:51.322058Z lvl=info msg="Starting continuous query service" log_i>
Nov 21 19:17:51 fed29 influxd[11074]: ts=2018-11-21T19:17:51.322305Z lvl=info msg="Starting HTTP service" log_id=0Buw9ktl00>
Nov 21 19:17:51 fed29 influxd[11074]: ts=2018-11-21T19:17:51.322526Z lvl=info msg="opened HTTP access log" log_id=0Buw9ktl0>
Nov 21 19:17:51 fed29 influxd[11074]: ts=2018-11-21T19:17:51.323043Z lvl=info msg="Listening on HTTP" log_id=0Buw9ktl000 se>
Nov 21 19:17:51 fed29 influxd[11074]: ts=2018-11-21T19:17:51.323352Z lvl=info msg="Starting retention policy enforcement se>
Nov 21 19:17:51 fed29 influxd[11074]: ts=2018-11-21T19:17:51.323662Z lvl=info msg="Listening for signals" log_id=0Buw9ktl000
Nov 21 19:17:51 fed29 influxd[11074]: ts=2018-11-21T19:17:51.324301Z lvl=info msg="Storing statistics" log_id=0Buw9ktl000 s>
Nov 21 19:17:51 fed29 influxd[11074]: ts=2018-11-21T19:17:51.324810Z lvl=info msg="Sending usage statistics to usage.influx

Step 4: Using InfluxDB – Basics

Some of the basics InfluxDB usage are:

1. Create a database

$ influx
Connected to http://localhost:8086 version 1.7.1
InfluxDB shell version: 1.7.1
Enter an InfluxQL query
> CREATE DATABASE monitoring

2. Use a Database

name: databases
> USE monitoring

3. Show Database Measurements


4. Select from a measurement


You have successfully installed InfluxDB on Fedora 34/33/32/31/30. Also read How to Install Telegraf on Fedora

For Monitoring with InfluxDB, check:

Monitor Linux System with Grafana and Telegraf

How to Monitor Zimbra Server with Grafana, Influxdb and Telegraf

How to Monitor VMware ESXi with Grafana and Telegraf

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here