centos7上memcahed安装

https://github.com/memcached

1、下载libevent git clone https://github.com/libevent/libevent.git

运行 ./autogen.sh 生成configure文件 运行 ./configure --prefix=/usr/local/libevent

make && make test && makeinstall

2、tar -zxvf memcached.tar.gz 

运行 ./configure --prefix=/usr/local/memcached --with-libevent=/usr/local/libevent;

make && make test &&make install 

3、安装 libmemcahed https://launchpad.net/libmemcached/+download

下载后 tar -zxvf libmemcached-1.0.18.tar.gz 

运行 ./configure && make && make install


你可能感兴趣的:(centos7上memcahed安装)