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

©著作权归作者所有:来自51CTO博客作者小精灵linux的原创作品,如需转载,请注明出处,否则将追究法律责任

更多相关文章

  1. pc端telegram使用方法2021
  2. 01.OSI及TCP/IP模型
  3. Elasticsearch 之 监控告警通知
  4. 终于掌握如何快速学习python了
  5. 练习
  6. RHEL7.6安装Oracle11g数据库--4、创建数据库
  7. ubuntu18.04网卡配置静态ip
  8. Elasticsearch 之 API调用
  9. Card payment core features

随机推荐

  1. 100篇原创文章,可乐de数据分析之路
  2. 2020年出生人口会大跌吗?解读人口数据
  3. ssh 创建多个秘钥对,连接不同的服务器
  4. centos 7 scp命令的使用
  5. 强势回归!再说回归分析
  6. 数据会说谎的真实例子有哪些
  7. 火爆全网的条形竞赛图,原来做起来这么简单
  8. Python爬虫-selenium
  9. 全网最新最良心的IDEA安装教程
  10. Python数据可视化:2018年北上广深空气质量