首页 > 其他 > 详细

prometheus + granfana

时间:2021-03-20 23:17:39      阅读:71      评论:0      收藏:0      [点我收藏+]
prometheus + granfana

下载软件:安装prometheus 服务器:[root@node01 prometheus]#

wget https://github.com/prometheus/prometheus/releases/download/v2.8.1/prometheus-2.8.1.linux-amd64.tar.gz

tar xvfz prometheus-2.8.1.linux-amd64.tar.gz -C /usr/local/

cd /usr/local/

ln -sv prometheus-2.8.1.linux-amd64 prometheus

cd prometheus

./prometheus --version

groupadd prometheus

useradd -g prometheus -s /sbin/nologin prometheus

id prometheus

chown -R prometheus:prometheus /usr/local/prometheus

cat /etc/passwd

mkdir -p /home/software/prometheus-date/

chown -R prometheus:prometheus /home/software/prometheus-date/

touch /usr/lib/systemd/system/prometheus.service

chown -R prometheus:prometheus /usr/lib/systemd/system/prometheus.service

vim /usr/lib/systemd/system/prometheus.service

prometheus + granfana

原文:https://blog.51cto.com/13718453/2666863

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!