首页 > 其他 > 详细

[redis]redis常用

时间:2018-09-21 10:10:56      阅读:160      评论:0      收藏:0      [点我收藏+]

https://redis.io/topics/quickstart

$ redis-cli ping
PONG
redis-server    is the Redis Server itself.
redis-sentinel  is the Redis Sentinel executable (monitoring and failover).
redis-cli       is the command line interface utility to talk with Redis.
redis-benchmark is used to check Redis performances.
redis-check-aof and redis-check-dump are useful in the rare event of corrupted data files.
$ redis-cli                                                                
redis 127.0.0.1:6379> ping
PONG
redis 127.0.0.1:6379> set mykey somevalue
OK
redis 127.0.0.1:6379> get mykey
"somevalue"

[redis]redis常用

原文:https://www.cnblogs.com/iiiiiher/p/9684950.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!