重启redis
[root@lecode-dev-001 packages]# /usr/local/redis/bin/redis-cli -p 6379
127.0.0.1:6379> auth Redislecodedev@shuli123
OK
127.0.0.1:6379> SHUTDOWN #关闭redis
not connected>
[root@lecode-dev-001 ~]# /usr/local/redis/bin/redis-server /data/packages/redis.conf #指定配置文件启动redis