본문 바로가기

OS/Linux

Mongo 설치하기(TokuMx 설치하기)


1. download

 - 직접 다운로드 https://www.percona.com/downloads/percona-tokumx/LATEST/ 

 

wget https://www.percona.com/downloads/percona-tokumx/tokumx-enterprise-2.0.2/binary/tarball/tokumx-e-2.0.2-linux-x86_64-main.tar.gz


2. Install

 1) tar 풀기

 tar xzf tokumx-2.0.2-linux-x86_64-main.tar.gz --directory /opt


 2) 링크 연결

ln -snf /opt/tokumx-2.0.2-linux-x86_64/bin/* /usr/local/bin


 3) 확인

 which mongod

 --> /usr/local/bin/mongod

 readlink /usr/local/bin/mongod

 --> /opt/tokumx-2.0.0-linux-x86_64/bin/mongod


3. 설정

 1) 환경변수

export PATH=/usr/local/bin:"$PATH"

echo 'export PATH=/usr/local/bin:"$PATH"' >> $HOME/.bash_profile 


 2) OS 커널값 수정

 echo never > /sys/kernel/mm/transparent_hugepage/enabled



4. 시작

 - mongod



'OS > Linux' 카테고리의 다른 글

[AWS S3] s3fs 설치하기(Centos)  (0) 2016.08.18
Maven Install  (0) 2016.08.14
Webserver 'nginx' install on Centos 6.5  (0) 2016.08.14
Node.js Install on Linux(Centos)  (0) 2016.08.14
Jenkins Install on Centos(yum Install)  (0) 2016.08.06
Mongo 설치하기(TokuMx 설치하기)  (0) 2016.08.05