Outils pour utilisateurs

Outils du site


programmation_memcached

Ceci est une ancienne révision du document !


memcache

memcached

Installation

# aptitude install memcached

libmemcache

Installation

# aptitude install libmemcache-dev

A partir des sources:

$ mkdir -p ~/tmp/mc && cd ~/tmp/mc
$ wget http://download.tangent.org/libmemcached-0.35.tar.gz
$ tar xvzf http://download.tangent.org/libmemcached-0.35.tar.gz
$ cd libmemcached-0.35
$ ./configure
...
---
Configuration summary for libmemcached version 0.35

 * Installation prefix:       /usr/local
 * System type:               pc-linux-gnu
 * Host CPU:                  i686
 * C Compiler:                gcc (Debian 4.3.2-1.1) 4.3.2
 * Assertions enabled:        yes
 * Debug enabled:             no
 * Warnings as failure:       no

---
$ make
$ su
# make install

Les “includes” sont dans:

/usr/local/include/libmemcached

Les “lib” sont dans:

/usr/local/lib
programmation_memcached.1262211917.txt.gz · Dernière modification : 2009/12/30 22:25 (modification externe)