环境:centos 7
参考官网教程:https://docs.influxdata.com/influxdb/v2.0/get-started/#start-with-influxdb-cloud-2-0
参考中文文档:https://jasper-zhang1.gitbooks.io/influxdb/content/Introduction/installation.html
方法一:
wget https://dl.influxdata.com/influxdb/releases/influxdb_client_2.0.0-rc.4_linux_amd64.tar.gz
tar xvfz influxdb_client_2.0.0-rc.4_linux_amd64.tar.gz
方法二:
vim /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
yum -y install influxdb
sudo service influxdb start