InfluxDB Linux 下安裝

康瑋劍發表於2020-11-11

環境: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

相關文章