命令行运行:
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/influxdb.key
EOF
然后安装influxdb `
sudo yum install influxdb
sudo service influxdb start
Or if your operating system is using systemd (CentOS 7+, RHEL 7+):
sudo yum install influxdb`
来源:oschina
链接:https://my.oschina.net/u/217662/blog/4514692