密码方式登录redis

$ ./redis-cli -h 127.0.0.1 -p 6379

127.0.0.1:6379> auth myPassword