redis
Varose
蓦然回首,笑容已不在许久,匆匆岁月,流年似水!
展开
-
redis相关操作
连接操作相关的命令 默认直接连接 远程连接-h 192.168.48.20 -p 6379ping:测试连接是否存活如果正常会返回pongecho:打印select:切换到指定的数据库,数据库索引号 index 用数字值指定,以 0 作为起始索引值quit:关闭连接(connection)auth:简单密码认证 服务端相关命令 time:返回当前服务器时间client li原创 2017-04-08 14:53:41 · 365 阅读 · 0 评论 -
redis.conf配置详解
##redis配置详解 # Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argument: # # ./redis-server /path/to/redis.原创 2017-04-11 10:15:16 · 458 阅读 · 0 评论 -
linux-centos7-安装redis集群
1、安装redis //安装 $ wget http://download.redis.io/releases/redis-5.0.5.tar.gz $ tar xzf redis-5.0.5.tar.gz $ cd redis-5.0.5 $ make //启动服务 $ src/redis-server //使用 $ src/redis-cli redis> set foo bar...原创 2019-08-10 01:02:34 · 217 阅读 · 0 评论