Admin-Ahead Community

General Category => General Discussion => Topic started by: aravindm on April 28, 2018, 11:52:56 am

Title: Compiling Redis
Post by: aravindm on April 28, 2018, 11:52:56 am
REDIS
Redis is an open source (BSD licensed), in-memory data structure store, used as a 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.

Code: [Select]
$ wget http://download.redis.io/releases/redis-4.0.9.tar.gz
Code: [Select]
$ tar xzf redis-4.0.9.tar.gz
Code: [Select]
$ cd redis-4.0.9
Code: [Select]
$ make
 The binaries that are now compiled are available in the src directory. Run Redis with:
Code: [Select]
$ src/redis-server
You can interact with Redis using the built-in client:
Code: [Select]
$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"
;)