查看密码: config get requirepass; 设置密码: config set requirepass 123456; 取消密码设置: config set requirepass '';