pinpoint 2.3.3离线部署

2022-07-27  本文已影响0人  后厂村老司机

前言

参考官方文档:https://pinpoint-apm.gitbook.io/pinpoint/getting-started/installation#3-pinpoint-collector
物料在网上下载,主要是以下物料(我的云盘里也有,不过简书不让发!)

安装步骤

将上述文件全部下载到机器,注意,需要配置JAVA_HOME(mac配置参考:https://www.jianshu.com/p/719517f24df2);如果提示连不上zookeeper,请清空一下/tmp/hbase-root目录,然后重装hbase服务(zk是使用hbase内置的)。

1. 安装hbase

tar -zxf hbase-1.2.7-bin.tar.gz

sh hbase-1.2.7/bin/start-hbase.sh

hbase-1.2.7/bin/hbase shell hbase-create.hbase

2. 启动collector:

nohup java -jar -Dpinpoint.zookeeper.address=localhost pinpoint-collector-boot-2.3.3.jar > nohup-collect.log 2>&1 &

3. 启动web:

nohup java -jar -Dpinpoint.zookeeper.address=localhost pinpoint-web-boot-2.3.3.jar > nohup-web.log 2>&1 &

4、启动服务:

nohup java -jar -javaagent:pinpoint-agent-2.3.3/pinpoint-bootstrap-2.3.3.jar -Dpinpoint.agentId=s1 -Dpinpoint.applicationName=service1 service1-1.0-SNAPSHOT.jar > nohup1.log 2>&1 &

5、访问url: http://localhost:8080

上一篇 下一篇

猜你喜欢

热点阅读