centos6安装redis
centos6安装redis-2.8.13.tar.gz 1、检查安装依赖程序 yum install gcc-c++ yum install -y tcl yum install wget 2、获取安装文件 wget http://download.redis.io/releases/redis-2.8.13.tar.gz 3、解压文件 tar -xzvf redis-2.8.13.tar.gz mv redis-2.8.13 /usr/local/redis 4、进入目录 cd /usr/local/redis 5、编译安装 make make install 6、设置配置文件路径 mkdir -p /etc/redis cp redis.conf/etc/redis 7、修改配置文件 vi /etc/redis/redis.conf 仅修改: daemonize yes (no-->yes) 8、启动 /usr/local/bin/redis-server /etc/redis/redis.conf 3、查看启动
redis-2.8.13.tar.gz