Install InfluxDB OSS | InfluxDB OSS v1 Documentation
Troubleshoot systemd errors | InfluxDB OSS v1 Documentation
$ cat <<EOF | sudo tee /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/influxdata-archive_compat.key EOF $ sudo yum install influxdb $ sudo service influxdb start $ influxd -config /etc/influxdb/influxdb.conf $ sudo chown -R influxdb:influxdb /var/lib/influxdb/* $ influxd -config /etc/influxdb/influxdb.conf
~/.bashrc
export INFLUXDB_CONFIG_PATH="/etc/influxdb/influxdb.conf"
HTTPのポートを開ける
sudo firewall-cmd --permanent --add-port=8086/tcp sudo firewall-cmd --reload
/etc/influxdb/influxdb.conf
[http] # Determines whether HTTP endpoint is enabled. enabled = true # Determines whether the Flux query endpoint is enabled. # flux-enabled = false # Determines whether the Flux query logging is enabled. # flux-log-enabled = false # The bind address used by the HTTP service. bind-address = ":8086" # Determines whether user authentication is enabled over HTTP/HTTPS. auth-enabled = false
sudo service influxdb restart