redis命令参考地址:http://redis.io/commands
启动redis:redis-server
连接reids :redis-cli
设置值: set mykey somevalue
获取值:get mykey
列出所有key: keys *
redis命令参考地址:http://redis.io/commands
启动redis:redis-server
连接reids :redis-cli
设置值: set mykey somevalue
获取值:get mykey
列出所有key: keys *