「Prometheus」- 安装 @20210411

本文介绍如何在Debian GNU/Linux 10 (buster)环境下部署Prometheus 2.22.0与Grafana 7.2,并提供详细的步骤指导。包括下载安装包、配置运行服务及通过浏览器验证安装成功。

解决方案

环境信息

操作系统:Debian GNU/Linux 10 (buster)
应用版本:Prometheus 2.22.0;Grafana 7.2;

第一步、部署 Prometheus 服务

# 下载
wget https://github.com/prometheus/prometheus/releases/download/v2.22.0/prometheus-2.22.0.linux-amd64.tar.gz
tar -xf prometheus-2.22.0.linux-amd64.tar.gz

# 运行
cd prometheus
./prometheus --config.file=prometheus.yml

# 检查
firefox http://localhost:9090

第二步、部署 Grafana 服务

wget https://dl.grafana.com/oss/release/grafana-7.2.1.linux-amd64.tar.gz
tar -zxvf grafana-7.2.1.linux-amd64.tar.gz

cd ./grafana
./bin/grafana-server web

相关文章

「Prometheus」- Exporters
「Alertmanager」
「Prometheus」- 基本概念与系统架构
「Prometheus」- 3.Configuration and Administration
「Grafana」- 3.Problem Solving (how-to)

参考文献

Install on Debian/Ubuntu | Grafana Labs
FIRST STEPS WITH PROMETHEUS
Getting started | Prometheus

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值