1、用SC命令管理:
启动redis服务: C:UsersAdministrator>sc start redis 停止redis服务: C:UsersAdministrator>sc stop redis 删除redis服务: C:UsersAdministrator>sc delete redis 设置redis服务自动启动 C:UsersAdministrator>sc config redis start= auto 设置redis服务手动启动 C:UsersAdministrator>sc config redis start= demand 设置redis服务禁止启动 C:UsersAdministrator>sc config redis start= disabled
2、用NET命令管理:
启动redis服务: net start redis 停止redis服务: net stop redis 重启redis服务: net stop "redis" && net start "redis"
[THE END]