One: Redis introduction 1: essentially key-value type memory database, where value can be string,list,set,sort Set, hash, and other types of data structures. Redis loads the entire data into memory, and periodically flush the database data to the hard disk with asynchronous operations. Because it is pure memory operation, Redis performance is excellent, processing more than 100,000 times per second read and write operations, is known to be the best performance Key-value type database. 2:redis has the following advantages: 2.1: Supports rich memory types such as String,list,set,sort Set, hash and other types of data structures. 2.2: Supports two types of data persistence: snapshotting (snapshot) append-only file (append) 2.3: Supports master-slave replication and nbsp; II: Redis installation 1: Installing Redis database wget http://download.redis.io/releases/ redis-3.0.0.tar.gz TAR-ZXVF redis-3.0.0.tar.gz CD redis-3.0.0  ; make make install CD utils/ ./install_server.sh Use default installation configuration Start Linux services: cd/usr/local/bin& nbsp ./redis-server/etc/redis/6379.conf to see if the service starts: PS-EF | grep 6379 modifying Redis boot files cd/etc/init.d/ ls | grep redis_6379 vi redis_6379 Change redis_6379 's name MV redis_6379 Redis View redis Status: Service Redis status &NB Sp Service Redis restart using REDIS-CLI login:cd/usr/local/bin/ ./redis-cli &NBSP ; Set key 22 Get KEY 2: Installing Phpredis modules wget https://github.com/owlient/phpredis/archive/master.zip MV Master master.zip Unzip master.zip CD phpredis-master/   ;
./configure–with-php-config=/usr/local/servers/phpredisReference: Http://www.redis.cn/redis Chinese official website references: http://my.oschina.net/xinxingegeya/blog/212348 Redis installation reference files: http://www . it163.org/post/699 Phpredis Installation
Linux installation Redis