1.Download
Website:[url]http://redis.io/download[/url]
Download lastest and stable version(My version is 2.4.6)
2.Installation
(1)Extract and compile redis with:
The binaries that are now compiled are available in the src directory. Run Redis with:
You can interact with Redis using the built-in client:
Website:[url]http://redis.io/download[/url]
Download lastest and stable version(My version is 2.4.6)
2.Installation
(1)Extract and compile redis with:
# tar xzf redis-2.4.6.tar.gz
# cd redis-2.4.6
# make
The binaries that are now compiled are available in the src directory. Run Redis with:
# src/redis-server
You can interact with Redis using the built-in client:
# src/redis-cli
redis 127.0.0.1:6379> set foo bar
OK
redis 127.0.0.1:6379> get foo
"bar"