Centos安装InfluxDB

时间:2024-04-06 13:21:34

1.下载rpm文件: wget https://dl.influxdata.com/influxdb/releases/influxdb-1.2.2.x86_64.rpm

2. 安装:yum localinstall influxdb-1.2.2.x86_64.rpm

3. 修改配置文件:vi /etc/influxdb/influxdb.conf ,修改如下

[[graphite]]
  # Determines whether the graphite endpoint is enabled.
  enabled = true
  database = "jmeter"
  retention-policy = ""
  bind-address = ":2003"
  protocol = "tcp"
  consistency-level = "one"

[admin]
  # Determines whether the admin service is enabled.
  enabled = true

  # The default bind address used by the admin service.
  bind-address = ":8083"
4. 设为开机启动:systemctl enable influxdb

    启动infludb:systemctl start influxdb

5. 管理界面

http://ip:8083

Centos安装InfluxDB