[root@localhost redis]# ./bin/redis-server ./redis.conf [root@localhost redis]# ./bin/redis-cli 127.0.0.1:6379> AUTH 123456 OK 127.0.0.1:6379>