【汇智学堂】单机部署使用Redis

First:
https://github.com/microsoftarchive/redis/releases
在这里插入图片描述
Download,unzip,as this:
在这里插入图片描述
Second,run cmd ,start redis serviceredis-server.exe redis.windows.conf
在这里插入图片描述
As above,service is success。This is server,if close this window,service will be closed.

Third
Another cmd,start client:redis-cli -h 127.0.0.1 -p 6379
在这里插入图片描述
Client connect is success.

The fourth
Set get data from redis.
在这里插入图片描述
在这里插入图片描述

发布了268 篇原创文章 · 获赞 47 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/weixin_39593940/article/details/103830401