centos 下 redis 下载与安装
2016-07-12 13:43
357 查看
1、官网
http://redis.io/
2、下载
wget http://download.redis.io/releases/redis-3.2.1.tar.gz
3、 解压
tar -zxvf redis-3.2.1.tar.gz
4、 进入目录
cd redis-3.2.1
5、进入源码
cd src
6、编译
make
7、 编译并安装
make install
8、测试
make test
出现 All tests passed without errors! 表示安装成功
9、启动redis
src/redis-server &
10、测试
src/redis-cli
11、关闭redis
src/redis-cli shutdown
错误详解:
问题:1、You need tcl 8.5 or newer in order to run the Redis test
解答:wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
cd /usr/local/tcl8.6.1/unix/
./configure
make
make install
问题2:缺少gcc
yum install -y gcc
http://redis.io/
2、下载
wget http://download.redis.io/releases/redis-3.2.1.tar.gz
3、 解压
tar -zxvf redis-3.2.1.tar.gz
4、 进入目录
cd redis-3.2.1
5、进入源码
cd src
6、编译
make
7、 编译并安装
make install
8、测试
make test
出现 All tests passed without errors! 表示安装成功
9、启动redis
src/redis-server &
10、测试
src/redis-cli
11、关闭redis
src/redis-cli shutdown
错误详解:
问题:1、You need tcl 8.5 or newer in order to run the Redis test
解答:wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
cd /usr/local/tcl8.6.1/unix/
./configure
make
make install
问题2:缺少gcc
yum install -y gcc
相关文章推荐
- redis 安装
- Redis中connect和pconnect的区别
- 30个php操作redis常用方法代码例子
- 解决:Redis:java.util.NoSuchElementException: Unable to validate object at
- redis命令参考
- Redis客户端API操作 Jedis详解
- Redis 缓存 + Spring 的集成示例
- PHP使用Redis
- redis BIO详解
- redis库应用及接口函数
- Redis的三种启动方式
- centos下安装redis 以及 phpredis扩展
- Redis Sentinel Plugin For JFinal
- redis cluster 非ruby方式启动
- 【原】Redis windows下的环境搭建
- 文章标题
- PHP---安装Redis扩展
- redis分片存储集群的搭建
- 【Redis】配置redis主从复制
- Redis 分区