One: Features of Redis
(1) Redis is an open source, BSD licensed Advanced Key-value storage System. can be used to store strings, hash structures, linked lists, and collections, so it is commonly used to provide data structure services.
II: The uniqueness of Redis versus memcached
(1) Redis can be used for storage (storge), while memcached is used for caching (cache). This feature of Redis is due to its "persistent" function.
(2) Redis storage data has "structure", for memcached, there is only one type of data stored [string type], and Redis can save string, hash list, hash structure, ordered set.
III: Redis Installation
(1) Official website: Redis.io
(2): http://download.redis.io/releases/redis-2.8.19.tar.gz
(3) Installation
1:TAR-ZXVF redis-2.8.19.tar.gz
2:CD Redis
4:make test [appears after compilation]
----------------------------
You need TCL 8.5 or newer in order to run the Redis test
------------------------------
This is a lack of TCL components
So: Yum Tcl can
5: Specify compilation path make Prefix=/usr/local/redis install
6:ls can view the directory and function as follows
Redis-benchmark Redis Performance Testing Tool
redis-check-aof checking the AOF log tool
Redis-check-dump checking the RDB log tool
REDIS-CLI Client for connection
Redis-server Redis Service Process
7: Copy a configuration file cp/usr/local/src/redis-2.8.19/redis.conf./
8: Modify profile settings to run in the background
Vim Vim redis.conf modified to: daemonize Yes
9: Start Redis
./bin/redis-server./redis.conf
Features of Redis and its installation and use