cd /usr/local/src
mkdir -p /usr/local/libevent
wget
https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar xzvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure --prefix=/usr/local/libevent
make
make install
cd /usr/local/src
mkdir -p /usr/local/memcached
wget http://memcached.org/latest
tar -zxvf memcached-1.x.x.tar.gz
cd memcached-1.x.x
./configure --prefix=/usr/local/memcached --with-libevent=/usr/local/libevent/
make
make install
cd /usr/local/memcached/bin
./memcached -d -u ukpdl -m 100 -p 10001
Close ticket like below:
Installed path of memcached : /usr/local/memcached
Memcache running Port : 10001
Memcache running User : ukpdl
Memcache memory allocated : 100MB
No comments:
Post a Comment