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

  • 相关阅读:
    设计模式
    C++下char/string跟int型转换比较
    function
    流程控制
    运算符
    type
    language
    phpbasic
    html标签集合
    课题六
  • 原文地址:https://www.cnblogs.com/striver-zhu/p/8660649.html
Copyright © 2011-2022 走看看