Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Centos 6 Pinpoint environment built successfully

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Construction of Centos 6 Pinpoint environment

One installation of jdk1.6, 1.7,1.8

Note: during the installation process, it is found that the latest pinpoint 1.5.2 does not seem to be compatible with the latest JDK1.8, so set system environment variables and jre install version 1.5.1 with jdk1.7,pinpoint. The environment variables are as follows: 6 and 7 point to the same jdk.

Export JAVA_6_HOME=/usr/service/jdk1.7.0_80export JAVA_7_HOME=/usr/service/jdk1.7.0_80export JAVA_8_HOME=/usr/service/jdk1.8.0_65export MAVEN_HOME=/usr/service/apache-maven-3.2.5export PATH=$JAVA_6_HOME/bin:$PATH:$MAVEN_HOME/bin:$JAVA_6_HOME/jre/binexport CLASS_PATH=.:$JAVA_6_HOME/lib/dt.jar:$JAVA_6_HOME/lib/tool.jar:$JAVA_6_HOME/jre/lib

Second, install maven

1: download the maven package and decompress it with apache-maven-3.2.5-bin.tar.gz

2: set the MAVEN_HOME environment variable

MAVEN_HOME=/usr/service/apache-maven-3.2.5

Test whether maven is configured successfully: mvn-version to view the maven version

Download and install pinpoint

1: execute

Git clone

This command gets the latest version of pinpoint1.5.2

2: pinpoint1.5.1 is used for this installation. Download the compressed package pinpoint-1.5.1.tar.gz and decompress it. Download address: https://github.com/naver/pinpoint/releases/tag/1.5.1

3: enter the pinpoint file directory and execute

Mvn install-Dmaven.test.skip=true

If something goes wrong here, try changing the version of the JDK environment variable

Four install & start HBASE

1:Download & Start enter the pinpoint/quickstart/bin directory and execute

Sh start-hbase.sh

2:Initialize Tables execution

Sh init-hbase.sh

It is possible to report that there is no JAVA_HOME environment variable here. You need to modify the JAVA_HOME environment variable in the hbase-env.sh in the hbase/conf directory to the system environment variable.

Five Start Pinpoint Daemons

Start collector:

Sh start-collector.sh

Start web ui:

Start-web.sh

Start the test APP:

Start-testapp.sh

Check Status

Access address:

Web UI-http://localhost:28080

TestApp-http://localhost:28081

Stopping

HBase-Run quickstart/bin/stop-hbase.sh

Collector-Run quickstart/bin/stop-collector.sh

Web UI-Run quickstart/bin/stop-web.sh

TestApp-Run quickstart/bin/stop-testapp.sh

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report