redis.windows.conf 文件解壓版中直接存在的,不需要再手寫
切換到redis目錄後,打開 cmd 或者 powershell
執行命令
redis-server.exe --service-install redis.windows.conf --loglevel verbose
服務中會出現一個redis服務,啓動它就好了
卸載該服務
redis-server --service-uninstall
redis.windows.conf 文件解壓版中直接存在的,不需要再手寫
切換到redis目錄後,打開 cmd 或者 powershell
執行命令
redis-server.exe --service-install redis.windows.conf --loglevel verbose
服務中會出現一個redis服務,啓動它就好了
卸載該服務
redis-server --service-uninstall