Memcached 安装配置手册

一、安装所需文件

memcached-1.4.4.tar.gz下载地址:http://memcached.org/

libevent-1.4.13-stable.tar.gz下载地址:http://www.monkey.org/~provos/libevent/

二、安装libevent

# tar zxvf libevent-1.4.13-stable.tar.gz
# cd libevent-1.4.13-stable
# ./configure --prefix=/usr/local
# make
# make install

三、安装memcached

# tar zxvf memcached-1.4.4.tar.gz
# cd memcached-1.4.4
# ./configure --with-libevent=/usr
# make
# make install

安装目录为:/usr/local/bin/

四、配置

ln -s /usr/local/lib/libevent-1.4.so.2 /usr/lib64/libevent-1.4.so.2

安装完成

五、启动

# memcached -d -m 8192 -u root -l 10.64.2.87 -p 11211 -P /tmp/memcached.pid

你可能感兴趣的:(memcached)