memcache安装
注意:一些安装路径要保持cd /home/cache
tar zxvf memcached-1.5.20.tar.gz
tar zxvf libevent-2.1.11-stable.tar.gz
#安装libevent
cd libevent-2.1.11-stable
./configure --prefix=/home/libevent_exe/libevent-2.1.11-stable
make
make install
#安装memcache
cd /home/cache/memcached-1.5.20
./configure --prefix=/home/memcached_exe/memcached-1.5.20 --with-libevent=/home/libevent_exe/libevent-2.1.11-stable
make
make install
启动:
cd /home/memcached_exe/memcached-1.5.20
memcached -m 64 -p 8080 -u nobody -vvv
以上是 memcache安装 的全部内容, 来源链接: utcz.com/z/511785.html