zoukankan      html  css  js  c++  java
  • Redis入门学习(二):下载安装

    Linux操作系统
    Download, extract and compile Redis with:
    $ wget http://download.redis.io/releases/redis-4.0.11.tar.gz
    $ tar xzf redis-4.0.11.tar.gz
    $ cd redis-4.0.11
    $ make
    The binaries that are now compiled are available in the src directory. Run Redis with:
    $ src/redis-server
    You can interact with Redis using the built-in client:
    $ src/redis-cli
    redis> set foo bar
    OK
    redis> get foo
    "bar"

    启动Redis服务:

    Redis内置客户端:

    PS:运行Redis的最佳系统时Linux和Mac OS,官方推荐的生产系统时Linux。 

    Windows操作系统
    下载地址:https://github.com/MSOpenTech/redis

     

    红框处第一个为msi安装版本,第二个为release版本,直接运行exe即可。
    msi安装配置参考:http://www.cnblogs.com/jaign/articles/7920588.html
    直接运行版本:

     redis-cli,即Redis Command Line Interface是Redis自带的基于命令行的Redis客户端,也是我们学习和测试Redis的重要工具。

  • 相关阅读:
    python
    car-travel project
    数据库
    kafka笔记
    cloudera笔记
    上课笔记
    structured streaming
    SparkSQL
    流数据
    spark厦门大学
  • 原文地址:https://www.cnblogs.com/MakeView660/p/11548229.html
Copyright © 2011-2022 走看看