启动redis服务 sudo systemctl restart redis 修改redis配置文件 nano /etc/redis.conf 测试密码正确性 127.0.0.1:6379> auth 123456