美文网首页
Windows安装Redis

Windows安装Redis

作者: 十毛tenmao | 来源:发表于2019-06-13 11:50 被阅读0次

官方Redis是不支持Windows系统的,但是如果在Windows机器上进行业务开发,还需要部署一套Redis服务,幸好有大神出手,制作了Windows的安装包

下载

ps: 建议下载msi文件,可以注册为Windows服务
pss: 如果github下载速度太慢,可以在CSDN上下载:https://download.csdn.net/download/xsx531588644/9565831

安装

直接双击安装

在Windows本地服务管理里面,可以看到已经注册并启动了Redis服务,服务执行命令如下:

"D:\Program Files\Redis\redis-server.exe" --service-run "D:\Program Files\Redis\redis.windows-service.conf"

注意:安装目录有两个配置文件redis.windows.confredis.windows-service.conf,从上面的命令知道,实际生效的是redis.windows-service.conf

Redis服务

测试

安装成功

相关文章

网友评论

      本文标题:Windows安装Redis

      本文链接:https://www.haomeiwen.com/subject/vabjfctx.html