Bootstrap

部署Prometheus

进入约定目录

cd /opt

下载安装包

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

 配置环境变量

 vim /etc/profile

 

PATH=$PATH:/opt/prometheus-2.12.0.linux-amd64
export PATH

 

刷新环境变量

source /etc/profile

启动

 promethus 
;