zoukankan      html  css  js  c++  java
  • Redis安装

    Windows下安装

    1.根据自己操作系统的位数,下载zip地址:https://github.com/MicrosoftArchive/redis/releases

    2.解压到对应的目录下:C:Redis-x64-3.2.100

    3.打开cmd,切换到对应的目录下,运行redis服务端:redis-server.exe redis.windows.conf 

    4.新开cmd,切换到对应的目录下,运行redis客户端连接服务端:redis-cli.exe -h 127.0.0.1 -p 6379

    连接成功后,直接就可以设置值,取值了:

    设置键值对 set myKey abc

    取出键值对 get myKey

  • 相关阅读:
    Linux
    Python
    Linux
    Python
    爬虫
    WEB
    法正(13):密谋
    法正(12):张松
    法正(11):入川
    法正(10):袍哥
  • 原文地址:https://www.cnblogs.com/striver-zhu/p/8660649.html
Copyright © 2011-2022 走看看