memcahe安装 启动

1、libevent安装
./configure --prefix=/usr/local/libevent-1.4
make
make install

2、memcached安装
./configure --prefix=/usr/local/memcached-1.4.3 --with-libevent=/usr/local/libevent-1.4/
ln -s /usr/local/memcached-1.4.3 /usr/local/memcached

3、
启动
/usr/local/memcached/bin/memcached -d -l 10.1.1.1(ip) -m 1500(mem) -p 12001(port) -u root

如:
/usr/local/memcached/bin/memcached -d -l 10.11.155.31 -m 2000 -p 33001 -u root

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