作者:兴桂秀寧29 | 来源:互联网 | 2023-09-01 13:27
sudomkdirusrlocalinfluxdbwgethttps:dl.influxdata.cominfluxdbreleasesinfluxdb-1.7.10.x86_64
sudo mkdir /usr/local/influxdb
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.7.10.x86_64.rpm
sudo yum localinstall influxdb-1.7.10.x86_64.rpm
sudo vim /etc/influxdb/influxdb.conf
sudo service influxdb restart
sudo systemctl start influxdb.service
sudo systemctl status influxdb.service
influx
show databases
CREATE DATABASE "jmeter"
use jmeter
CREATE USER "admin" WITH PASSWORD 'admin' WITH ALL PRIVILEGES
同上创建telegraf数据库:performance
influx
show databases
CREATE DATABASE "performance"
use performance
CREATE USER "admin" WITH PASSWORD 'admin' WITH ALL PRIVILEGES