CentOS Memcached安装及运行检测

1.CentOS Memcached安装前需要先安装Libevent:
# curl -O http://www.monkey.org/~provos/libevent-1.4.9-stable.tar.gz
# tar zxf libevent-1.4.9-stable.tar.gz
# cd libevent-1.4.9-stable
# ./configure
# make
# make install
2.继续CentOS Memcached安装:
# curl -O http://www.danga.com/memcached/dist/memcached-1.2.7.tar.gz
# tar zxf memcached-1.2.7.tar.gz
# cd memcached-1.2.7
# ./configure
# make
# make install
3.CentOS Memcached安装接着在当前用户的.bash_profile中添加
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
4.CentOS Memcached运行
# memcached -m 512 -u nobody -vv
<6 server listening
<7 server listening
<8 send buffer was 109568, now 268435456
<8 server listening (udp)
<9 send buffer was 109568, now 268435456
<9 server listening (udp)
CentOS Memcached运行正常。

你可能感兴趣的:(centos,memcached,运行,检测,休闲)