Redis is a new Cool key value store, which is very different than your ordinary key value stores. Redis Key be string, has, list, set, sorted set.
Here is how you install Redis on Centos:
$ wget http://redis.googlecode.com/files/redis-2.4.2.tar.gz
$ tar xzf redis-2.4.2.tar.gz
$ cd redis-2.4.2
$ make
At this point you have Redis install into src folder.
$ cd src
$ ./redis-server &
Now you have a Redis instance running. You want to run a test if everything is installed and running correctly as follows in Redis root directory.
$ make test
if you come across with the following error:
You need ‘tclsh8.5′ in order to run the Redis test
that means you need tclsh8.5
So you can download tclsh8.* and
$ configure && make && make install && make clean
then you can run
$make test
for Redis again.
There is a Redis client you can use to interact and learn.You can interact with Redis using the built-in client:
$ src/redis-cli
redis> set foo bar
OK
redis> get foo
“bar”
enjoy the rest and you can read more about Redis in my blog about Redis.
