Connecting redis through command line
1. First, install the redis client
yum install redis
2. Connection
redis-cli -h 127.0.0.1 -p 6379 -a password
#Host: remote redis server host
#Port: remote redis service port
$password: remote redis service password (if there is no password, the - a parameter is not required)