码迷,mamicode.com
首页 > 数据库 > 详细

yum 安装 influxdb/telegraf

时间:2019-01-25 12:58:36      阅读:209      评论:0      收藏:0      [点我收藏+]

标签:etc   cat   tor   http   教程   intro   shell   telegraf   arch   

添加 yum 源:

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

或者

cat <<EOF | sudo tee /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
EOF

安装:

yum -y install influxdb
yum -y insall telegraf

yum 安装 influxdb/telegraf

标签:etc   cat   tor   http   教程   intro   shell   telegraf   arch   

原文地址:https://www.cnblogs.com/jonnyan/p/10318787.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!