redis命令
(1)设置redis密码
config set requirepass 密码
auth 密码
完成之后,查看密码
config get requirepass
原文:https://www.cnblogs.com/wanerhu/p/10986419.html