본문 바로가기

Monitoring Tools/Pinpoint

4. [pinpoint 설치] tomcat 설치

반응형

1. 압축 해제

tar zxvf apache-tomcat-9.0.36.tar.gz

2. 디렉토리 이동

## 편의상 pinpoint/ 로 이동
mv /usr/local/src/apache-tomcat-9.0.36 /usr/local/pinpoint/tomcat9

3. 환경 변수 수정

## 환경 변수
[root@localhost bin]# pwd
/usr/local/pinpoint/tomcat9/bin
 
[root@localhost bin]# vim setenv.sh
#!/bin/sh
JAVA_HOME=/usr/local/java

4. 구동

## 구동
[root@localhost bin]# ./startup.sh
Using CATALINA_BASE:   /usr/local/pinpoint/tomcat9
Using CATALINA_HOME:   /usr/local/pinpoint/tomcat9
Using CATALINA_TMPDIR: /usr/local/pinpoint/tomcat9/temp
Using JRE_HOME:        /usr/local/java
Using CLASSPATH:       /usr/local/pinpoint/tomcat9/bin/bootstrap.jar:/usr/local/pinpoint/tomcat9/bin/tomcat-juli.jar
Tomcat started.
반응형