1. 下载 InfluxDB RPM 包,您可以从官网下载或使用 wget 命令下载:
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.8.6.x86_64.rpm
  1. 安装 InfluxDB RPM 包:
sudo rpm -ivh influxdb-1.8.6.x86_64.rpm
  1. 启动 InfluxDB 服务:
sudo systemctl start influxdb
  1. 设置 InfluxDB 服务开机自启动:
sudo systemctl enable influxdb
  1. 验证 InfluxDB 是否启动成功:
sudo systemctl status influxdb

如果显示 'active (running)' 则表示 InfluxDB 已经成功启动。

CentOS 上使用 RPM 安装 InfluxDB

原文地址: https://www.cveoy.top/t/topic/oIkB 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录