1.cmd命令 安装命令: redis-server.exe --service-install redis.windows.conf --loglevel verbose 卸载命令: redis-server --service-uninstall 转载于:https://www.cnblogs.com/caolaoshi/p/7843453.html