redis 设置认证密码 通过修改redis配置文件(redis.conf)修改验证密码。(重启生效) requirepass myRedis 客户端通过密码登录redis并进行操作 redis-cli -h 127.0.0.1 -p 6379 -a myRedis