memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
To use it with C++ apps you also need libmemcached which is client library to the memcached server. It has been designed to be light on memory usage, thread safe, and provide full access to server side methods.
As far as I know there is no Debian package for libmmemcached but there is one for memcached.
Installing memcache
The easiest way is to install it via APT:
Installing libmemcached
You will have to compile it yourself using source code
wget http://download.tangent.org/libmemcached-0.39.tar.gz
tar -zxf libmemcached-0.39.tar.gz
cd libmemcached-0.39
./configure –prefix=/usr
make
make install
I’ve put all those commands in a small SH script:
#!/bin/sh echo "Installing memcached" apt-get install -y memcached echo "Installing libmemcached-0.39" cd /usr/local/src/ wget http://download.tangent.org/libmemcached-0.39.tar.gz tar -zxf libmemcached-0.39.tar.gz cd libmemcached-0.39 ./configure –prefix=/usr make make install echo "Installation finished"





