Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Compiling Redis  (Read 2787 times)

0 Members and 1 Guest are viewing this topic.

aravindm

  • Guest
Compiling Redis
« 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"
;)