config get requirepass
config set requirepass "lidihuo123"
CONFIG get requirepass
127.0.0.1:6379> AUTH "lidihuo123" OK 127.0.0.1:6379> SET mykey "hindi100" OK 127.0.0.1:6379> GET mykey "hindi100" 127.0.0.1:6379>