Linux下软件环境安装(9)-influxDB安装与配置

https://portal.influxdata.com/downloads/

Telegraf - Time-Series Data Collector
InfluxDB - Time-Series Data Storage
Chronograf - Time-Series Data Visualization
Kapacitor - Time-Series Data Processing

wget https://dl.influxdata.com/influxdb/releases/influxdb_1.7.8_amd64.deb
sudo dpkg -i influxdb_1.7.8_amd64.deb

Created symlink from /etc/systemd/system/influxd.service to /lib/systemd/system/influxdb.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/influxdb.service to /lib/systemd/system/influxdb.service.

sudo vi /etc/influxdb/influxdb.conf
改/home/.../influxdb
influxd config
influxd run &

influx -host 127.0.0.1
show databases
create database "gui"
use gui
show measurements
insert test,host=127.0.0.1,monitor_name=test count=2
select * from test limit 10
exit
相关操作命令:https://blog.csdn.net/x541211190/article/details/82948201

https://grafana.com/docs/installation/debian/
https://grafana.com/grafana/download?platform=linux
wget https://dl.grafana.com/oss/release/grafana_6.4.1_amd64.deb
sudo dpkg -i grafana_6.4.1_amd64.deb

NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd

sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable grafana-server

You can start grafana-server by executing

sudo /bin/systemctl start grafana-server

标签: none

添加新评论