InfluxDB2/Installation
From r00tedvw.com wiki
Installation | Configuration
Contents |
CentOS7
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
Start
~$ sudo systemctl enable influxdb ~$ sudo systemctl start influxdb
Ports
~$ sudo firewall-cmd --zone=public --permanent --add-port=8086/tcp ~$ sudo firewall-cmd --zone=public --permanent --add-port=8088/tcp
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