windows下安装redis

  • Post author:
  • Post category:其他


  1. 下载安装包并解压:


    https://github.com/MicrosoftArchive/redis/releases

  2. 运行服务:

redis-server –service-install redis.windows.conf –loglevel verbose

  1. 卸载服务:

redis-server –service-uninstall

  1. 启动服务:

redis-server –service-start

  1. 停止服务:

redis-server –service-stop

  1. 开启多个服务:

redis-server –service-install –service-name redisService1 –port 10001

redis-server –service-start –service-name redisService1

redis-server –service-install –service-name redisService2 –port 10002

redis-server –service-start –service-name redisService2

redis-server –service-install –service-name redisService3 –port 10003

redis-server –service-start –service-name redisService3



版权声明:本文为qq1036548849原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。