redis.exe 程序加入服务后台启动设定

redis.windows.conf 文件解压版中直接存在的,不需要再手写

切换到redis目录后,打开 cmd 或者 powershell

执行命令

redis-server.exe --service-install redis.windows.conf --loglevel verbose

服务中会出现一个redis服务,启动它就好了

卸载该服务

redis-server --service-uninstall

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章