在centos5.2上 安装 memcache
提示: 如果 不能使用 ./configure 命令 请安装gcca)安装libevent
下载地址 http://monkey.org/~provos/libevent/
cd libevent-2.0.10-stable/
./configure -prefix=/usr
make
make install
检查是否安装成功
ls -al /usr/lib|grep libevent
b)安装memcached
下载地址 http://code.google.com/p/memcached/downloads/list
cd memcached-1.4.5
./configure -with-libevent=/usr
make && make test
make install
检查是否安成功
ls -al /usr/local/bin/memcached
C)启动Memcache
/usr/local/bin/memcached -d -m 256 -u root
页:
[1]