https://www.cnblogs.com/yyhh/p/6106472.html
https://mirrors.aliyun.com/zabbix/zabbix/5.0/rhel/7/x86_64/
https://cloud.tencent.com/developer/article/1694068
https://github.com/naver/pinpoint/releases/tag/v2.0.4
vim /etc/profile
增加如下内容
export JAVA_HOME=/web/jdk1.8.0_77
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export JRE_HOME=${JAVA_HOME}/jre
使环境变量生效
source /etc/profile
理论上不用装,hbase默认会拉起zookeeper,不过是单机的
tar xf hbase-2.2.5.tar.gz
cd hbase-2.2.5/conf
vim hbase-env.sh
export JAVA_HOME=/web/jdk1.8.0_77
cd hbase-2.2.5/bin
./start-hbase.sh
./hbase shell ./hbase-create.hbase
./hbase shell
status ‘detailed‘
tar xf tomcat9_pinpoint_collector.tar.gz
cd tomcat9_pinpoint_collector/bin
./startup.sh
tar xf tomcat9_pinpoint_web.tar.gz
cd tomcat9_pinpoint_web/bin
./startup.sh
/web/pinpoint/pinpoint-agent-2.0.4/profiles/local/pinpoint-env.config
/web/pinpoint/pinpoint-agent-2.0.4/profiles/release/pinpoint-env.config
/web/pinpoint/pinpoint-agent-2.0.4/pinpoint.config
中 profiler.sampling.rate 值改为1,表示每一条记录都采集。默认是20,表示每20条采集一条。
nginx配置
server {
listen 80;
max_ranges 100;
server_name www.test.com;
location / {
proxy_pass http://192.168.0.16:9091/;
proxy_set_header X-FORWARDED-FOR $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
auth_basic "password";
auth_basic_user_file test.pass;
}
vim setenv.sh
CATALINA_OPTS="$CATALINA_OPTS -javaagent:/web/pinpoint/pinpoint-agent-2.0.4/pinpoint-bootstrap.jar"
CATALINA_OPTS="$CATALINA_OPTS -Dpinpoint.agentId=app215_8001"
CATALINA_OPTS="$CATALINA_OPTS -Dpinpoint.applicationName=ems"
访问
pinpoint.sgpx.com.cn
http://naver.github.io/pinpoint/faq.html
vim start.sh
-javaagent:/web/pinpoint/pinpoint-agent-2.0.4/pinpoint-bootstrap.jar -Dpinpoint.agentId=app107_oim_8034 -Dpinpoint.applicationName=biz_oim
原文:https://www.cnblogs.com/wangjie20200529/p/14339357.html