Redis is one of the most popular NoSQL systems in the current one, and it is a key-value storage system.
Similar to the memcached. But to a great extent compensates for the memcached's shortcomings. It supports storage of value types relative to many others. Contains string, list, set, Zset, and hash. These data types support Push/pop, Add/remove, and intersection sets and differences, and richer operations.
Based on this, Redis supports sorting in a variety of different ways.
Redis data is cached in the computer's memory and periodically writes the updated data to disk or writes the change operation to the appended record file.
Redis website Address: http://www.redis.io/
Installing Redis under Linux is easy, with detailed procedures such as the following (as stated on the official website):
1, download the source code, unzip the source code after the compilation.
$ wget http://download.redis.io/releases/redis-2.8.3.tar.gz
$ tar xzf redis-2.8.3.tar.gz
$ CD redis-2.8.3
$ make
2, after the compilation is complete. Under the SRC folder. There are four executable files Redis-server, Redis-benchmark, Redis-cli, and redis.conf.
Then copy it to a folder.
Mkdir/usr/redis
CP Redis-server/usr/redis
CP Redis-benchmark/usr/redis
CP Redis-cli/usr/redis
CP Redis.conf/usr/redis
Cd/usr/redis
3. Start Redis service.
$ redis-server redis.conf
4, then use the client to test whether to start the success.
$ redis-cli
Redis> set Foo Bar
Ok
Redis> get foo
"Bar"
The version number I installed is not the same as this, just the general installation process.
Original link: http://www.cnblogs.com/silent2012/p/3499654.html
Redis installation under Linux