redis 认证密码
2016-07-05 10:18
459 查看
[root@cache01 ~]# grep "requirepass" /app/server/redis/conf/6379.conf # If the master is password protected (using the "requirepass" configuration # requirepass foobared requirepass bass #主服务器上的认证密码 [root@cache01 ~]# vi /app/server/redis/conf/ 6379.conf 6379.conf.bak dump.rdb [root@cache01 ~]# vi /app/server/redis/conf/6379.conf [root@cache01 ~]# service redis stop Stopping ... Redis stopped [root@cache01 ~]# service redis start Starting Redis server... [root@cache01 ~]# /app/server/redis/bin/redis-cli 127.0.0.1:6379> set name 123456 (error) NOAUTH Authentication required. 127.0.0.1:6379> auth bass OK 127.0.0.1:6379>
相关文章推荐
- redis 数据类型及应用场景
- (?)企业部分之redis
- Windows环境下安装Redis和基本操作
- Redis单线程快速的原因
- redis源码分析之内存布局
- Redis源码研究—代码整体架构
- Ubuntu下如何安装与运行Redis
- 键值存储之redis
- redis 数据类型
- NoSQL之Redis---集群教程
- Nginx1.11+Redis3+Tomcat7服务器搭建
- redis 安装配置和常用命令
- redis 数据类型的使用场景
- redis 的基本操作
- springmvc整合redis架构搭建
- 配置redis外网可访问
- jedis针对三种redis工作模式、哨兵模式的源码阅读分析
- redis生产环境中慎用keys模糊匹配方法
- C#下的Redis 学习
- ubuntu 14.04 安装redis