安装libevent和memcache
tarzxvflibevent-1.4.13-stable.tar.gz
cdlibevent-1.4.13-stable
./configure–prefix=/usr
make
makeinstall
安装memcached,同时需要安装中指定libevent的安装位置
tarzxvfmemcached-1.4.4.tar.gz
cdmemcached-1.4.4
./configure–with-libevent=/usr
make&&makeinstall
安装完成后会把memcached自动放到/usr/local/bin/memcached
4、测试是否成功安装memcached
ls-al/usr/local/bin/mem*
-rwxr-xr-x1rootroot20186912-1421:44/usr/local/bin/memcached
相关推荐
andyhuabing 2020-05-22
huolan 2020-01-08
andyhuabing 2013-04-01
xx0cw 2019-12-24
85463363 2015-02-06
blueskylxb 2016-05-04
xcznb 2008-03-03
rufeng 2007-12-20
Billow 2011-07-16
84086320 2011-05-10
andyhuabing 2011-03-24
85407718 2019-10-20
85463363 2013-06-17
83530391 2015-09-28
blueskylxb 2011-07-20
红为网络 2011-06-29