文章分类 -  redis

redis和redis php扩展安装
摘要:redis的源码安装wget http://download.redis.io/redis-stable.tar.gztar -zxvf redis-stable.tar.gzcd redis-stablemakemake testmake install可能出现:You need tcl 8.5 or newer in order to run the Redis test执行yum install tclmake时可能会报如下错误:zmalloc.o: In function `zmalloc_used_memory':/root/redis-stable/src/zmalloc. 阅读全文

posted @ 2013-09-24 19:15 一天一點 阅读(302) 评论(0) 推荐(0)

centos yum 安装 redis
摘要:yum安装还是比较简单的,yum install redis安装完成,顺便看下配置vim /etc/redis.conf 安装php的redis扩展yum install php-redis重启apache,service httpd restartphpinfo 一下,如果出现redis,则证明安装成功,开始使用吧!~ps,因为 selinux,iptables的关系我们可能在测试的时候链接不上,可以先临时禁用。进行测试setenforce 0service iptables stop 阅读全文

posted @ 2013-01-29 18:33 一天一點 阅读(500) 评论(0) 推荐(0)