如何在windows机器上安装和运行redis-server(具体是10)?

时间:2022-01-21 18:30:01

I am trying to create a sample application using redis. I am trying to install and run redis-server but I am getting this error:

我正在尝试使用redis创建一个示例应用程序。我正在尝试安装和运行redis-server,但是我得到了这个错误:

$ redis-server
sh: redis-server: command not found

1 个解决方案

#1


3  

Redis is not officially supported on Windows, but there is an MSOpen Tech Native Redis Port available.

Redis在Windows上没有得到官方支持,但是有一个MSOpen Tech原生的Redis端口可用。

Follow the instructions there to install redis, and your redis-server command should work.

按照指示安装redis,您的redisserver命令应该可以工作。

You can also go to the MSOpenTech Redis Release Page and download the .msi file for the latest release (one click install).

您还可以访问MSOpenTech Redis发布页面并下载最新版本的.msi文件(单击安装)。

#1


3  

Redis is not officially supported on Windows, but there is an MSOpen Tech Native Redis Port available.

Redis在Windows上没有得到官方支持,但是有一个MSOpen Tech原生的Redis端口可用。

Follow the instructions there to install redis, and your redis-server command should work.

按照指示安装redis,您的redisserver命令应该可以工作。

You can also go to the MSOpenTech Redis Release Page and download the .msi file for the latest release (one click install).

您还可以访问MSOpenTech Redis发布页面并下载最新版本的.msi文件(单击安装)。