1、redis官方下载地址:https://redis.io/download,redis 64位下载地址:https://github.com/MicrosoftArchive/redis/releases

2、解压 Redis-x64-3.2.100.zip,解压后的文件结构如下:

Windows 环境下 Redis 安装

 

3、修改redis.windows.conf文件,设置maxmemory 大小 

最好是 1G ,即 1024*1024*1024 

Windows 环境下 Redis 安装

 

设置redis密码

Windows 环境下 Redis 安装

 

4、启动redis:

redis-server.exe redis.windows.conf

Windows 环境下 Redis 安装

 

测试,成功安装: 

Windows 环境下 Redis 安装

 

5、将redis加入到windows的服务中

redis-server.exe --service-install redis.windows.conf --loglevel verbose --service-name Redis6379

相关文章:

  • 2021-12-02
  • 2021-11-19
  • 2021-09-13
  • 2021-08-24
  • 2021-06-24
  • 2022-12-23
  • 2022-02-08
  • 2021-09-09
猜你喜欢
  • 2021-11-15
  • 2021-09-02
  • 2021-11-29
  • 2022-01-12
相关资源
相似解决方案