redis安装

redis安装和配置

    Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.

    Redis是一开源(BSD协议)、内存数据结构存储方式,可以作为数据库、缓存和数据代理。它支持的数据类型有:string、hashes、lists、排序sets,支持范围查询、bitmaps、hyperloglogs、地理半径查询。Redis内置lua脚本,LRU驱动,事物和不同等级的磁盘持久化方式,并且通过Redis Sentinel和Redis Cluster提供高可靠性的自动分区

一、安装

    1、下载安装:

        官网:http://redis.io/

$ cd usr/local
$ wget http://download.redis.io/releases/redis-3.0.7.tar.gz
$ tar xzf redis-3.0.7.tar.gz
$ cd redis-3.0.7
$ make

    2、开启

$ src/redis-server

redis安装_第1张图片


你可能感兴趣的:(redis)