Redis服务端目前用的是控制台程序运行,部署的时候能作为windows服务后台运行感觉更好。找到一篇文章Running Redis as a Windows Service
Reids官网 http://redis.io/download
Redis在windows搭建以及打成服务步骤。
http://redis.io/download 官网
步骤一:下载windows版本Reids
https://github.com/MSOpenTech/redis windows版本下载Redis-x64-2.8.2400.zip
步骤二:解压修改文件redis.windows.conf配置
设置堆内存大小 maxheap 1024000000
步骤三:下载打成服务工具,网子 http://www.codeproject.com/Articles/715967/Running-Redis-as-a-Windows-Service
步骤四:解压打成服务文件。打成文件配置(Exe2Srvc.exe.config,Exe2Srvc.vshost.exe.config),根据Reids解压目录配置
步骤五:以管理员身份点击Install.bat(打成服务),Uninstall.bat(卸载服务)