📚 [Repcached] 설치하기.

Category: Memcached | 📅 October 30, 2014

Repcached 설치하기

준비물 : libevent-devel 패키지 & 그리고 Repcached 소스

1. CentOS 7

>sudo yum install gcc make

2. Ubuntu 14.04

$sudo apt-get install libevent-1.4.2 libevent1-dev

다운로드 하기

위치 : Repcached
여기서 필요한 녀석을 다운로드 받는다.

설치하기 (Ubuntu)

$ sudo apt-get install gcc
$ sudo tar xvzf memcached-1.2.8-repcached-2.2.1.tar.gz
$ cd memcached-1.2.8-repcached-2.2.1
$ sudo ./configure --prefix=/opt/repcached --replication-enable
$ sudo make 
$ sudo make install

설치하기 (CentOS 7)

> wget https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz
> tar xvzf libevent-1.4.14b-stable.tar.gz
> sudo ./configure --prefix=/opt/
> sudo make
> sudo make install
> cd ../memcached-....
> sudo yum install perl-IO-Socket-INET6
> sudo ./configure --prefix=/opt/repcached --enable-replication
> sudo make
> sudo make install 
🏷️ Tags