Friday, November 18, 2011

Redis Installation in Linux

     Redis is a open source, advanced key-value store, and is intended as a datastore solution for applications where performance and flexibility are more critical than persistence and absolute data integrity. Installation of redis is very simple.

#cd /usr/src/
#tar xzf redis-2.4.2.tar.gz
#cd redis-2.4.2

The binaries that are now compiled are available in the src directory. You have to create an soft link of it as

#ln -s src/redis-server /bin/redis-server
#ln -s src/redis-cli /bin/redis-cli

Start Redis Server as


Now, You can interact with Redis using the built-in client:

redis> set foo bar
redis> get foo

No comments:

Post a Comment