centos7 安装influxdb V2
官方网站:https://docs.influxdata.com/influxdb/v2.0/install/?t=Linux
中文文档:https://jasper-zhang1.gitbooks.io/influxdb/content/
中文:https://www.influxdbcn.com/
1、下载:wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.9.x86_64.rpm
yum localinstall influxdb2-2.0.9.x86_64.rpm
2、启动
systemctl start influxdb && systemctl enable influxdb
- wget https://dl.influxdata.com/telegraf/releases/telegraf-1.20.2-1.x86_64.rpm
- yum localinstall telegraf-1.20.2-1.x86_64.rpm -y
访问InfluxDB前端并初始化
InfluxDB默认前端访问地址是http://ip地址:8086(如果无法访问请检查Selinux和防火墙是否关闭)
Ubuntu20.04 安装telegraf
wget https://dl.influxdata.com/telegraf/telegraf_1.20.2-1_amd64.deb
dpkg -i telegraf_1.20.2-1_amd64.deb
systemctl enable telegraf
systemctl status telegraf
Ubuntu20.04 安装influxdb
wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.9-amd64.deb
dpkg -i influxdb2-2.0.9-amd64.deb
systemctl enable influxdb
systemctl start influxdb
systemctl status influx