InfluxDB2/Installation
From r00tedvw.com wiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | [[InfluxDB2/Installation|Installation]] | + | [[InfluxDB2/Installation|Installation]] | [[InfluxDB2/Configuration|Configuration]] |
=CentOS7= | =CentOS7= | ||
==Add repo== | ==Add repo== |
Latest revision as of 23:19, 5 September 2022
Installation | Configuration
Contents |
[edit] CentOS7
[edit] Add repo
~$ vim /etc/yum.repos.d/influxdb.repo [influxdb] name = InfluxDB Repository - RHEL \$releasever baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable enabled = 1 gpgcheck = 1 gpgkey = https://repos.influxdata.com/influxdb.key
[edit] Start
~$ sudo systemctl enable influxdb ~$ sudo systemctl start influxdb
[edit] Ports
~$ sudo firewall-cmd --zone=public --permanent --add-port=8086/tcp ~$ sudo firewall-cmd --zone=public --permanent --add-port=8088/tcp
[edit] Install CLI
~$ wget https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.4.0-linux-amd64.tgz ~$ tar -xvfz influxdb2-client-2.4.0-linux-amd64.tgz ~$ sudo cp ./influxdb2-client-2.4.0-linux-amd64/influx /usr/bin ~$ sudo chmod 755 /usr/bin/influx