redis installation method
1. Install the package with one click through lnmp, and then
execute ./addons.sh install redis
2. yum -y install redis
3. wget http://redis.googlecode.com/files/redis- 2.4.6.tar.gz
redis operation test
1. redis-server /etc/redis.conf
2. redis-cli
redis instance
set ddk "dml"
get ddk
Reference link:
http:// www.cnblogs.com/shanyou/archive/2012/01/28/2330451.html
http://www.yiibai.com/redis/redis_transactions.html
http://www.runoob.com/redis/redis -php.html
http://www.phpernote.com/mysql/1150.html
The above introduces the redis installation method, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.