安装
cat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo
[influxdb]
name = InfluxDB Repository - RHEL \$releasever
baseurl = https://repos.influxdata.com/rhel/7/$basearch/stable
enabled = 1
gpgcheck = 1
gpgkey = https://repos.influxdata.com/influxdb.key
EOF
运行安装命令
sudo yum install -y influxdb
启动
sudo systemctl start influxdb
配置开机启动
sudo systemctl enable influxdb
修改配置文件
vim /etc/influxdb/influxdb.conf
# Change this option to true to disable reporting.
reporting-disabled = false
# Bind address to use for the RPC service for backup and restore.
# bind-address =