Call us Today +49 7543 609337-0
Log In

Welcome to this small HowTo on installing influxdb on CentOs 7. This tutorial will guide you throught the different steps of installing influxdb on CentOs 7. Later tutorials will also show you how you can connect Cacti to this influxdb instance using the CereusTransporter plugin

HowTo Install influxdb on CentOs 7

First of all, we will need a basic CentOs 7 installation. There are no special requirements on what to select.   Next, we will need to add the influxdb yum repository to this freshly installed CentOs 7.  Use the following commands to add it to your system:

cat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo 
name = InfluxDB Repository - RHEL \$releasever 
baseurl =\$releasever/\$basearch/stable 
enabled = 1 
gpgcheck = 1 
gpgkey = 

Now we can start the installation with the following command:

sudo yum install influxdb

Please answere “y” to all questions. You should see the following output then:

Command Output
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
influxdb | 2.9 kB 00:00:00
updates | 3.4 kB 00:00:00
influxdb/7/x86_64/primary_db | 6.5 kB 00:00:01
Loading mirror speeds from cached hostfile
 * base:
 * extras:
 * updates:
Resolving Dependencies
--> Running transaction check
---> Package influxdb.x86_64 0:0.10.0-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

 Package Arch Version Repository Size
 influxdb x86_64 0.10.0-1 influxdb 16 M

Transaction Summary
Install 1 Package

Total download size: 16 M
Installed size: 16 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/influxdb/packages/influxdb-0.10.0-1.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 2582e0c5: NOKEY
Public key for influxdb-0.10.0-1.x86_64.rpm is not installed
influxdb-0.10.0-1.x86_64.rpm | 16 MB 00:00:12
Retrieving key from
Importing GPG key 0x2582E0C5:
 Userid : "InfluxDB Packaging Service <>"
 Fingerprint: 05ce 1508 5fc0 9d18 e99e fb22 684a 14cf 2582 e0c5
 From :
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
 Installing : influxdb-0.10.0-1.x86_64 1/1
Created symlink from /etc/systemd/system/influxd.service to /usr/lib/systemd/system/influxdb.service.
Created symlink from /etc/systemd/system/ to /usr/lib/systemd/system/influxdb.service.
 Verifying : influxdb-0.10.0-1.x86_64 1/1

 influxdb.x86_64 0:0.10.0-1


Now let’s start the influxdb service for the first time and also make it autostart when the system starts:

sudo /bin/systemctl start  influxdb.service
sudo /bin/systemctl enable influxdb.service

On a standard CentOs 7 installation, the firewall needs to be opened for the influx db port ( TCP/8086 and TCP/8083 ), so let’s do it now:

firewall-cmd --permanent --zone=public --add-port=8086/tcp
firewall-cmd --permanent --zone=public --add-port=8083/tcp
firewall-cmd --reload

You should now be able to go to the web interface of your influxdb installation using the following url: