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

    Redis 概况

    Redis是一款开源的、高性能的键-值存储(key-value store)。它常被称作是一款数据结构服务器(data structure server)。Redis的键值可以包括字符串(strings)、哈希(hashes)、列表(lists)、集合(sets)和 有序集合(sorted sets)等数据类型。 对于这些数据类型,你可以执行原子操作。例如:对字符串进行附加操作(append);递增哈希中的值;向列表中增加元素;计算集合的交集、并集与差集等。

    Redis 安装

    在主页 Redis下载稳定版本,通过

    wget http://redis.googlecode.com/files/redis-2.4.13.tar.gz 获取当前最新的版本

    解压到某文件 tar xzvf redis-2.4.13.tar.gz

    进入到 redis-2.4.13,参考README文件。

    由于是在32bit下,通过命令 Make 32bit 该编译过程将会产生redis-server二进制文件。

    安装完成后,执行一下make test看是否正常。

    如果出现“You need 'tclsh8.5' in order to run the Redis test”。 则可运行 sudo apt-get install tcl8.5 来安装tcl。

    再执行就可以了 。

    在Debian上执行发现三个错误。

    !!! WARNING The following tests failed:

    *** [err]: Protocol desync regression test #1 in tests/unit/protocol.tcl Redis did not closed connection after protocol desync

    *** [err]: Protocol desync regression test #2 in tests/unit/protocol.tcl Redis did not closed connection after protocol desync

    *** [err]: Protocol desync regression test #3 in tests/unit/protocol.tcl Redis did not closed connection after protocol desync Cleanup: may take some time... OK

    资源 redis 资源汇总 http://blog.nosqlfan.com/html/3537.html

  • 相关阅读:
    绝对相等与弱相等
    css3之媒体查询
    css3新增选择器
    BFC渲染机制
    css优先级及其对应的权重
    滚动指示器
    web储存的初级运用
    setTimeout与setInterval的使用
    原生js获取left值和top值
    canvas圆形进度条
  • 原文地址:https://www.cnblogs.com/westfly/p/2507737.html
Copyright © 2011-2022 走看看