Maison >développement back-end >tutoriel php >redis安装方法,redis安装_PHP教程
redis安装方法
1、通过lnmp一键安装包,然后
执行./addons.sh install redis
2、yum -y install redis
3、wget http://redis.googlecode.com/files/redis-2.4.6.tar.gz
redis操作测试
1、redis-server /etc/redis.conf
2、redis-cli
redis实例
set ddk "dml"
get ddk
参考链接:
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