Redis测试连接是否正常
[root@node02 22:47:39~]# redis-cli 127.0.0.1:6379> ping (error) NOAUTH Authentication required. #没验证 127.0.0.1:6379> 127.0.0.1:6379> AUTH 1234 OK 127.0.0.1:6379> ping PONG
[root@node02 22:47:39~]# redis-cli 127.0.0.1:6379> ping (error) NOAUTH Authentication required. #没验证 127.0.0.1:6379> 127.0.0.1:6379> AUTH 1234 OK 127.0.0.1:6379> ping PONG