/
Collector 설치
Collector 설치
파일의 압축을 해제한 후, 다음의 디렉토리가 생성될 것이다.
[mach@localhost ~/mach_collector_home]$ ls -al total 60372 drwxrwxr-x 9 mach mach 4096 Jun 27 23:58 . drwx------ 20 mach mach 4096 Jun 27 23:40 .. drwxrwxr-x 2 mach mach 4096 Jun 27 23:31 bin drwxrwxr-x 6 mach mach 4096 Jun 27 23:31 collector drwxrwxr-x 2 mach mach 4096 Jun 27 23:31 conf drwxrwxr-x 2 mach mach 4096 Jun 27 23:31 doc -rw-r--r-- 1 mach mach 61783606 Jun 27 23:41 machcollector-x.x.x.official-LINUX-X86-64-release.tgz drwxrwxr-x 2 mach mach 4096 Jun 27 23:31 meta drwxrwxr-x 2 mach mach 4096 Jun 27 23:31 trc drwxrwxr-x 3 mach mach 4096 Jun 27 23:31 webadmin .. 생략
Name of directory | Description |
---|---|
bin | 실행 파일 |
collector | 설정 파일 예제 |
conf | 설정 파일 |
doc | 라이선스 파일 |
lib | 라이브러리 파일 |
msg | 메세지 파일 |
webadmin | Python 패키지 |
환경 변수 설정
실행 파일과 shared object 파일, 경로 환경 변수를 설정해야 한다.
export MACHBASE_COLLECTOR_HOME=/home/machbase/machbase_home export PATH=$MACHBASE_COLLECTOR_HOME/bin:$PATH export LD_LIBRARY_PATH=$MACHBASE_COLLECTOR_HOME/lib:$LD_LIBRARY_PATH export MACH_COLLECTOR_PORT=9999
위 환경 변수를 적용하기 위해서 다음의 명령을 실행한다.
source .bashrc
$MACHBASE_COLLECTOR_PORT
를 지정하지 않은 경우, $MACH_COLLECTOR_HOME/conf/machcollector.conf
의 PORT_NO 값이 사용된다.
Related content
Collector 설치
Collector 설치
More like this
Collector 설치
Collector 설치
More like this
Collector 설치
Collector 설치
More like this
Collector 설치
Collector 설치
More like this
Collector 설치
Collector 설치
More like this
Collector Installation
Collector Installation
More like this