小五六资源网,小五六博客

Redis安装教程windows版本

发布:小五六资源网 2020年6月16日 2:49 星期二分类: Windows

链接:https://pan.baidu.com/s/1z3Lv9wfKbl2ea92yL_asWg
提取码:0k8h
一、Redis的安装

(一)下载JDK

官网载地址:https://github.com/microsoftarchive/redis

网速不好的小伙伴用网盘下载即可。
          网盘下载地址: https://pan.baidu.com/s/1z3Lv9wfKbl2ea92yL_asWg
             网盘提取码: gz44

下载解压版,进入目录执行命令:redis-server.exe redis.windows.conf

出现以下代表成功
[13928] 16 Jun 11:01:09.475 # Server started, Redis version 3.0.504
[13928] 16 Jun 11:01:09.477 * The server is now ready to accept connections on port 6379
[13928] 16 Jun 17:23:16.463 * 1 changes in 900 seconds. Saving...
[13928] 16 Jun 17:33:32.251 * Background saving started by pid 10932
[13928] 16 Jun 17:33:32.554 # fork operation complete
[13928] 16 Jun 17:33:32.554 * Background saving terminated with success


重新打开一个命令窗口执行:
>redis-cli.exe -h 127.0.0.1 -p 6379
>ping
>set age 1
>get age 1
温馨提示如有转载或引用以上内容之必要,敬请将本文链接作为出处标注,谢谢合作!

发表评论: