InfluxDB

安装 InfluxDB。

添加仓库。

echo "deb https://repos.influxdata.com/ubuntu bionic stable" | sudo tee /etc/apt/sources.list.d/influxdb.list

导入 GPG 密钥。

sudo curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -

安装 InfluxDB。

sudo apt-get update
sudo apt-get install influxdb

编辑 influxdb.conf。

sudo vi /etc/influxdb/influxdb.conf

使 bind-address 生效。

[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"

启动 InfluxDB。

sudo systemctl start influxdb