一、下载Redis

下载地址:https://github.com/MSOpenTech/redis/releases

在windows x64上部署使用Redis

二、安装Redis

将下载文件解压到D:\redis 后,可见:

在windows x64上部署使用Redis

三、启动Redis

CMD进入D:\\redis后

>>redis-server redis.windows.conf

如果启动失败,如

 在windows x64上部署使用Redis

则需要调整内存分配,启动时调整为: redis-server redis.windows.conf --maxmemory 200m 或修改配置文件 redis.windows.conf,如:maxmemory 209715200 然后再重新启动

当显示如下时,证明已经成功启动

在windows x64上部署使用Redis

四、部署Redis

将Redis安装成windows服务的,开机自启动

>>redis-server --service-install redis.windows.conf

安装服务成功后,可通过服务可以手工启动或者通过命令行启动和关闭

在windows x64上部署使用Redis

启动:

>>redis-server --service-start

 停止:

>>redis-server --service-stop

卸载:

>>redis-server --service-uninstall

 

Redis可视化管理工具

下载地址:https://redisdesktop.com/download

 在windows x64上部署使用Redis

 

 

 


在windows x64上部署使用Redis
***微信扫一扫,关注“python测试开发圈”,了解更多测试教程!***

相关文章:

  • 2021-10-24
  • 2021-12-19
  • 2022-02-07
  • 2022-12-23
  • 2021-04-02
  • 2021-06-05
猜你喜欢
  • 2021-06-18
相关资源
相似解决方案