Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

사용자 생성

마크베이스 설치 및 사용을 위한 리눅스 사용자 'machbase' 를 생성한다.

sudo useradd machbase


패키지 설치

machbase_home 디렉토리를 생성하고 마크베이스 다운로드 사이트에서 패키지를 다운로드 받아서 복사하고 설치한다.

[mach@localhost ~]$ wget http://www.machbase.com/dist/machbase-std-3.5.0.826b8f2.official-LINUX-X86-64-release.tgz
[mach@localhost ~]$ mkdir machbase_home
[mach@localhost ~]$ mv machbase-std-3.5.0.826b8f2.official-LINUX-X86-64-release.tgz machbase_home/
[mach@localhost ~]$ cd machbase_home/
[mach@localhost machbase_home]$ tar zxf machbase-std-3.5.0.826b8f2.official-LINUX-X86-64-release.tgz
[mach@localhost machbase_home]$ ls -al
total 71096
drwxrwxr-x 16 mach mach 4096 Aug 8 22:56 .
drwx------ 16 mach mach 4096 Aug 8 22:55 ..
drwxrwxr-x 6 mach mach 87 Aug 8 08:42 3rd-party
drwxrwxr-x 2 mach mach 4096 Aug 8 08:42 bin
drwxrwxr-x 6 mach mach 4096 Aug 8 08:42 collector
drwxrwxr-x 2 mach mach 56 Aug 8 08:42 conf
drwxrwxr-x 2 mach mach 6 Aug 8 08:42 dbs
drwxrwxr-x 3 mach mach 21 Aug 8 08:42 doc
drwxrwxr-x 2 mach mach 88 Aug 8 08:42 include
-rw-rw-r-- 1 mach mach 72780339 Aug 8 22:54 machbase-std-3.5.0.826b8f2.official-LINUX-X86-64-release.tgz
drwxrwxr-x 2 mach mach 62 Aug 8 08:42 install
drwxrwxr-x 2 mach mach 4096 Aug 8 08:42 lib
drwxrwxr-x 2 mach mach 6 Aug 8 08:42 meta
drwxrwxr-x 2 mach mach 40 Aug 8 08:42 msg
drwxrwxr-x 8 mach mach 73 Aug 8 08:42 sample
drwxrwxr-x 2 mach mach 6 Aug 8 08:42 trc
drwxrwxr-x 3 mach mach 18 Aug 8 08:42 webadmin
[mach@localhost machbase_home]$


설치된 디렉토리 설명은 다음과 같다.

디렉토리설명
bin
collector
conf
dbs
doc
include
install
lib
msg
sample
trc
webadmin
3rd-party


환경변수 설정

.bashrc 파일에 마크베이스 관련 환경 변수를 추가한다.

export MACHBASE_HOME=/home/machbase/machbase_home
export PATH=$MACHBASE_HOME/bin:$PATH
export LD_LIBRARY\_PATH=$MACHBASE_HOME/lib:$LD_LIBRARY_PATH


-- 변경사항을 아래 명령어로 적용한다.
source .bashrc













  • No labels