본문 바로가기

리눅스

[리눅스] Scouter Server 설치

반응형

Scouter Server 설치

scouter 다운로드(https://github.com/scouter-project/scouter/releases)

cd /app
tar xvfz scouter.server.tar.gz

 

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

 

su - tomcat
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'
source .bashrc

 

cd /app/scouter/server/
chmod 744 startup.sh stop.sh
./startup.sh

 

$ 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

 

728x90
반응형