Arcus Memcached
DOCSBLOGJaM2in
develop
develop
  • install
  • administration
    • commandline_args
  • ARCUS Cache Server ASCII Protocol
    • Chapter 1. ARCUS Basic Concept
    • Chapter 2. Collection Concept
    • Chapter 3. Item Attribute 설명
    • Chapter 4. Simple Key-Value 명령
    • Chapter 5. LIST 명령
    • Chapter 6. SET 명령
    • Chapter 7. MAP 명령
    • Chapter 8. B+Tree 명령
    • Chapter 9. Command Pipelining
    • Chapter 10. Item Attribute 명령
    • Chapter 11. Scan 명령
    • Chapter 12. Admin & Monitoring 명령
    • ARCUS Telnet Interface
Powered by GitBook
On this page
  • Build & Install
  • 패키지 설치
  • Source 가져오기
  • Compile
  • Test

Was this helpful?

Edit on GitHub

install

Last updated 11 months ago

Was this helpful?

Build & Install

패키지 설치

yum install gcc make which libtool (CentOS / Redhat)
apt-get install build-essential libtool (Ubuntu)
brew install autoconf automake libtool (OSX)

Source 가져오기

wget https://github.com/naver/arcus-memcached/releases/download/<version>/arcus-memcached-<version>.tar.gz
tar -zxvf arcus-memcached-<version>.tar.gz
cd arcus-memcached-<version>

또는

git clone https://github.com/naver/arcus-memcached.git
cd arcus-memcached
git switch -d <version>
./config/autorun.sh

Compile

, 설치

./deps/install.sh <arcus_install_path>

arcus-memcached 설치

./configure
make
make install

./configure 수행 시 다음과 같은 option을 사용할 수 있습니다.

  • --prefix=<arcus_install_path>: arcus-memcached가 설치될 경로 지정. (default=/usr/local)

  • --with-libevent=<arcus_install_path>: libevent가 설치된 경로 지정 (default=<prefix> 또는 /usr/local)

  • --enable-zk-integration: zookeeper based clustering 사용

  • --enable-zk-reconfig: zookeeper reconfig 기능 사용

  • --with-zookeeper=<arcus_install_path>: arcus-zookeeper가 설치된 경로 지정 (default=<prefix> 또는 /usr/local)

Test

yum install perl-core

unit test

make test

특정 테스트만 수행

perl ./t/<test_script>.t

동시성 관련 문제(used port 등)로 테스트 실패하는 경우

# run_test.pl
my $opt = '--job 1'; # --job N : run N test jobs in parallel
libevent
arcus-zookeeper