如何在Windows 32位上运行Redis? [英] How do I run Redis on Windows 32 bit?

查看:98
本文介绍了如何在Windows 32位上运行Redis?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Windows 7 32位上设置Redis服务器.我没有找到Redis的32位支持版本.我怎样才能做到这一点?预先感谢.

I have tried to set up Redis server on my windows 7 32 bit. I did not find a 32-bit supportive version of Redis. How can I do this? Advance thanks.

推荐答案

将.zip文件下载到硬盘中.

Download the .zip file to your hard drive.

将文件解压缩到任何位置,例如"C:\ Program Files \ Redis \".

Unzip the files into any location, such as ‘C:\Program Files\Redis\’.

将Redis文件夹的路径添加为Windows的环境变量".

Add the path of your Redis folder as a Windows ‘environment variable.’

打开命令提示符(例如:cmd.exe).

Open your Command Prompt (ex: cmd.exe).

安装Redis服务器

redis-server --service-install

启动Redis服务器

redis-server --service-start

保存并停止Redis数据库

save and stop the Redis database

redis-server shutdown save

从命令行中,请检查redis是否已启动

from command line please check if redis is up

redis-cli ping

这篇关于如何在Windows 32位上运行Redis?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆