安装pushgateway
下载地址: https://github.com/prometheus/pushgateway/releases
下载这个
[root@mcw04 ~]# tar xf pushgateway-1.7.0.linux-amd64.tar.gz [root@mcw04 ~]# ls \ apache-tomcat-8.5.88 hadoop-2.8.5.tar.gz nohup.out usr 1.py apache-tomcat-8.5.88.tar.gz ip_forward~ original-ks.cfg zabbix-release-4.0-1.el7.noarch.rpm a filebeat-6.5.2-x86_64.rpm jdk-8u191-linux-x64.tar.gz pushgateway-1.7.0.linux-amd64 alertmanager.yml grafana-9.2.3 mcw.txt pushgateway-1.7.0.linux-amd64.tar.gz anaconda-ks.cfg grafana-9.2.3.linux-amd64.tar.gz node_exporter-0.16.0.linux-amd64.tar.gz python3yizhuang.tar.gz [root@mcw04 ~]# cd pushgateway-1.7.0.linux-amd64/ [root@mcw04 pushgateway-1.7.0.linux-amd64]# ls LICENSE NOTICE pushgateway [root@mcw04 pushgateway-1.7.0.linux-amd64]# echo $PATH /usr/local/jdk/bin:/opt/hadoop/bin:/opt/hadoop/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin [root@mcw04 pushgateway-1.7.0.linux-amd64]# cp pushgateway /usr/local/bin/ [root@mcw04 pushgateway-1.7.0.linux-amd64]# pushgateway --version pushgateway, version 1.7.0 (branch: HEAD, revision: 109280c17d29059623c6f5dbf1d6babab34166cf) build user: root@c05cb3457dcb build date: 20240119-13:28:37 go version: go1.21.6 platform: linux/amd64 tags: unknown [root@mcw04 pushgateway-1.7.0.linux-amd64]#
标签:1.7,amd64,tar,使用,prometheus,pushgateway,linux,root From: https://www.cnblogs.com/machangwei-8/p/18014456