변군이글루

[scouter] Scouter 설치 - 1 본문

프___기타

[scouter] Scouter 설치 - 1

변군 변군이글루 2017.03.17 16:32

Scouter 설치 -1

1. Scouter Server 설치
scouter 다운로드(https://github.com/scouter-project/scouter/releases)
scouter.server.tar.gz

[root@scouter01 ~]# cd /app
[root@scouter01 app]# tar xvfz scouter.server.tar.gz

[root@scouter01 app]# vi /app/scouter/server/conf/scouter.conf
---
# Agent Control and Service Port(Default : TCP 6100)
net_tcp_listen_port=6100

# UDP Receive Port(Default : 6100)
net_udp_listen_port=6100

# DB directory(Default : ./database)
db_dir=/app/scouter/server/database

# Log directory(Default : ./logs)
log_dir=/app/scouter/server/logs
---

[root@scouter01 app]# su - tomcat

[tomcat@scouter01 ~]$ vi .bashrc
---
## JAVA_HOME
export JAVA_HOME="/app/java"
export PATH="$PATH:$JAVA_HOME/bin"

## Scouter startup/stop script
alias scouter_startup='/app/scouter/server/startup.sh'
alias scouter_stop='/app/scouter/server/stop.sh'
---

[tomcat@scouter01 ~]$ source .bashrc

[tomcat@scouter01 ~]$ cd /app/scouter/server/

[tomcat@scouter01 ~]$ chmod 744 startup.sh stop.sh


[tomcat@scouter01 server]$ ./startup.sh
nohup: redirecting stderr to stdout
  ____                  _           
 / ___|  ___ ___  _   _| |_ ___ _ __
 \___ \ / __/   \| | | | __/ _ \ '__|
  ___) | (_| (+) | |_| | ||  __/ |  
 |____/ \___\___/ \__,_|\__\___|_|                                     
 Open Source S/W Performance Monitoring 
 Scouter version 0.4.22 20170114
 
System JRE version : 1.8.0_111
[tomcat@scouter01 server]$ ps -ef | grep scouter
tomcat 23117     1 19 16:26 pts/0    00:00:01 java -Xmx512m -classpath ./boot.jar scouter.boot.Boot ./lib


참고 URI : http://kingbbode.tistory.com/12

0 Comments
댓글쓰기 폼