1.下载安装包
https://github.com/microsoftarchive/redis/releases/download/win-3.0.504/Redis-x64-3.0.504.zip
2.解压到目录
3.进入目录
4.执行启动命令
redis-server.exe redis.windows.conf
只能临时启动,关掉窗口就没了
5.设置永久启动
在根目录创建Logs目录,Logs下新建 redis_log.txt
文件
执行以下命令
redis-server.exe --service-install redis.windows-service.conf --loglevel verbose --service-name Redis