...
Code Block |
---|
|
sudo useradd machbase |
패키지 설치
machbase_home 디렉토리를 디렉터리를 생성하고 마크베이스 다운로드 사이트에서 패키지를 다운로드 받아서 설치한다.
Code Block |
---|
|
[machbase@localhost ~]$ wget http://www.machbase.com/dist/machbase-std-5.1.9.community-LINUX-X86-64-release.tgz
[machbase@localhost ~]$ mkdir machbase_home
[machbase@localhost ~]$ mv machbase-std-5.1.9.community-LINUX-X86-64-release.tgz machbase_home/
[machbase@localhost ~]$ cd machbase_home/
[machbase@localhost machbase_home]$ tar zxf machbase-std-5.1.9.community-LINUX-X86-64-release.tgz
[machbase@loclahost machbase_home]$ ls -l
total 136620
drwxrwxr-x 5 machbase machbase 64 Oct 30 16:10 3rd-party
drwxrwxr-x 2 machbase machbase 4096 Oct 30 16:10 bin
drwxrwxr-x 6 machbase machbase 189 Dec 21 14:04 collector
drwxrwxr-x 2 machbase machbase 306 Jan 2 11:36 conf
drwxrwxr-x 2 machbase machbase 136 Jan 2 11:37 dbs
drwxrwxr-x 3 machbase machbase 22 Oct 30 16:10 doc
drwxrwxr-x 2 machbase machbase 96 Oct 30 16:10 include
drwxrwxr-x 2 machbase machbase 29 Oct 30 16:10 install
drwxrwxr-x 2 machbase machbase 283 Oct 30 16:10 lib
-rw-rw-r-- 1 machbase machbase 139888377 Dec 20 11:33 machbase-std-5.1.9.community-LINUX-X86-64-release.tgz
drwxrwxr-x 2 machbase machbase 22 Dec 21 15:43 meta
drwxrwxr-x 2 machbase machbase 6 Oct 30 16:10 package
drwxrwxr-x 12 machbase machbase 140 Oct 30 16:10 sample
drwxrwxr-x 2 machbase machbase 4096 Jan 2 09:37 trc
drwxrwxr-x 10 machbase machbase 160 Oct 30 16:10 tutorials
drwxrwxr-x 3 machbase machbase 19 Oct 30 16:10 webadmin
[machbase@loclahost machbase_home]$ |
설치된 디렉토리 디렉터리 설명은 다음과 같다.
디렉토리디렉터리 | 설명 |
---|
bin | 실행 파일들 |
collector | 로그 수집기 파일들 |
conf | 설정 파일들 |
dbs | 데이터 저장 공간 |
doc | 라이선스 파일들 |
include | CLI 프로그램을 위한 각종 헤더 파일들 |
install | Makefile을 위한 mk 파일 |
lib | 각종 라이브러리 |
msg | Machbase 서버 에러 메시지 |
sample | 각종 예제 파일들 |
trc | Machbase 서버 로그 및 추적 내용들 |
webadmin | MWA 웹서버 파일들 |
3rd-party | grafana 연동 파일들 |
...
마크베이스 프로퍼티 설정
$MACHBASE_HOME/conf 디렉토리에 디렉터리에 machbase.conf 파일이 있다.
Code Block |
---|
|
[machbase@localhost ~]$ cd $MACHBASE_HOME/conf
[machbase@localhost conf]$ ls -l
total 28
-rw-rw-r-- 1 machbase machbase 17556 Oct 30 16:10 machbase.conf
-rw-rw-r-- 1 machbase machbase 17556 Oct 30 16:10 machbase.conf.sample
-rw-rw-r-- 1 machbase machbase 1706 Oct 30 16:10 machcollector.conf
-rw-rw-r-- 1 machbase machbase 1706 Oct 30 16:10 machcollector.conf.sample
[machbase@localhost conf\]$ |
...