redis-cli -a password shutdown:关闭redis./redis_init_script stop:关闭redisredis-cli:进入到redis客户端auth pwd:输入密码set key value:设置缓存get key:获得缓存del key:删除缓存redis-cli -a password ping:查看是否存活