See below.
First, Install the libevent dependency.
cd /usr/local/src
wget http://monkey.org/~provos/libevent-1.4.9-stable.tar.gz
tar -xzvf libevent-1.4.9-stable.tar.gz
cd libevent-1.4.9-stable
./configure --prefix=/usr/local
make; make install
Then, install memcache.
cd /usr/local/src
tar -xzvf memcached-1.4.5.tar.gz
cd memcached-1.4.5
LDFLAGS='-Wl,--rpath /usr/local/lib' ./configure --prefix=/usr/local
make; make install
Test your installation.
memcached -u root -dIf you connected properly then you have successfuly installed memcached. All you have to do now is find a suitable memcached client for your use.
ps -aux | grep memcached
telnet localhost 11211
This installation procedure usually eliminates errors generated by the dependency libevent-1.4.so.2.
No comments:
Post a Comment