【发布时间】:2017-09-21 18:02:57
【问题描述】:
我正在按照此链接上的这些步骤概述,但是当我尝试启动服务器时,没有任何反应,也无法从客户端连接到任何东西。有谁知道如何运行它?
当我从命令提示符尝试而不是双击 redis-server.exe 时,我收到此消息
[11868] 7 月 23 日 11:58:26.325 # QForkMasterInit:捕获系统错误。错误代码=0 x000005af, message=VirtualAllocEx 失败。:未知错误
http://bartwullems.blogspot.ca/2013/07/unofficial-redis-for-windows.html
安装 Redis 最简单的方法是通过 NuGet:
Open Visual Studio Create an empty solution so that NuGet knows where to put the packages Go the Package Manager Console: Tools –> Library Package Manager –>Package Manager Console Type Install-Package Redis-64图片
Go to the Packages folder and browse to the Tools folder. Here you’ll find the Redis-server.exe. Double click on it to start it.Redis 已准备好使用并开始监听特定端口(6379 in 我的情况)
图片
Let’s open up a client and try to put a value into Redis. Start Redis-cli.exe. It already connects to the same port by default.图片
Add a value by executing following command:图片
Read the value again:图片
【问题讨论】: