想做一个springboot整合redis的项目,所以这里先在本地安装redis
下载地址:https://github.com/microsoftarchive/redis/releases
选择微软格式安装包
①Add the Redis Installation folder to the path Environment Variable
安装过程中会有这个勾选项———将Redis安装文件夹添加到path环境变量中
②Add an Exception to the Windows FireWall
安装过程中会有这个勾选项———向Windows防火墙添加例外
可以让其他的用户访问进来
③set the Max Memory limit
安装过程中会有这个勾选项———设置最大内存限制
④安装完城之后
进入————计算机-管理-服务和应用程序-服务-Redis-运行状态 查看启动状态
cmd打开dos窗口
cd 到安装目录
redis-server.exe redis.windows.conf
显示此图即为安装成功
如果报错请去
将redis的服务停止,再在dos命令下启动