memcache 和 redis 几个常用命令:
Memcache:
telnet 127.0.0.1 11211
add test1 0 0 10
'#########'
get #name
set name 0 60 5
stats items
stats cachedump slab_id limit_num
stats cachedump 1 3
redis: 可以对字符串、List、Set、Zset进行操作
yum install redis
service redis start
redis-cli -p 6379
keys * 列出所有key
set name value
get name
systemctl start redis.service
systemctl enable redis.service