摘要:
ubuntu下安装php redissudo apt-get install redis-server测试redis是否安装成功:注意:要开启redisredis-cliset test helloOKget test"bar"下载phpredissudo wget http://open.imop.us/pr.tar.gztar zxvf pr.tar.gzcd phpredisphpize //这个phpize是安装php模块的如果没有phpize,则需要先安装php5-dev./configuremakemake install修改php.ini文件extension 阅读全文
摘要:
ubuntu安装启动redis1、下载安装cd /tmpwget http://redis.googlecode.com/files/redis-2.2.13.tar.gztar -zxf redis-2.2.13.tar.gzcd redis-2.2.13makesudo make install这时Redis 的可执行文件被放到了/usr/local/bin2、下载配置文件和init启动脚本:wget https://github.com/ijonas/dotfiles/raw/master/etc/init.d/redis-serverwget https://github.com/ij 阅读全文