root@h101 memcached-1.4.24# netstat -ant | grep 12345
root@h101 memcached-1.4.24# ps fuax | grep mem
root@h101 memcached-1.4.24# /usr/local/bin/memcached -d -m 1024 -p 12345 -u cc -c 512 -t 10
root@h101 memcached-1.4.24# /usr/local/bin/memcached -h
checking build system type... x86_64-unknown-linux-gnu
root@h101 memcached-1.4.24# rpm -qa | grep libevent
root@h101 src# tar -zxvf memcached-1.4.24.tar.gz
Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls
1.Memcached与Redis都属于内存内、键值数据存储方案,都是nosql数据库中的杰出代表。
-l:是监听的服务器IP地址,这里我们填本地,如果想让其他机器访问,写成0.0.0.0