mkdir redis
cd redis
wget http://labfile.oss.aliyuncs.com/files0422/redis-2.8.9.tar.gz

解压

 tar -xvfz redis-2.8.9.tar.gz 

编译

cd redis-2.8.9
make
make install

编译如果没报错,安装就算初步完成了.查看目录

cd src
adlist.c     aof.c        crc64.o       hyperloglog.c  memtest.c        pqsort.c         redis-benchmark.c   redis.o         sds.c           solarisfixes.h  t_string.o    zipmap.o
adlist.h aof.o db.c hyperloglog.o memtest.o pqsort.h redis-benchmark.o redis-sentinel sds.h sort.c t_zset.c zmalloc.c
adlist.o asciilogo.h db.o intset.c migrate.c pqsort.o redis.c redis-server sds.o sort.o t_zset.o zmalloc.h
ae.c bio.c debug.c intset.h migrate.o pubsub.c redis-check-aof release.c sentinel.c syncio.c util.c zmalloc.o
ae_epoll.c bio.h debug.o intset.o mkreleasehdr.sh pubsub.o redis-check-aof.c release.h sentinel.o syncio.o util.h
ae_evport.c bio.o dict.c lzf_c.c multi.c rand.c redis-check-aof.o release.o setproctitle.c testhelp.h util.o
ae.h bitops.c dict.h lzf_c.o multi.o rand.h redis-check-dump replication.c setproctitle.o t_hash.c valgrind.sup
ae_kqueue.c bitops.o dict.o lzf_d.c networking.c rand.o redis-check-dump.c replication.o sha1.c t_hash.o version.h
ae.o config.c endianconv.c lzf_d.o networking.o rdb.c redis-check-dump.o rio.c sha1.h t_list.c ziplist.c
ae_select.c config.h endianconv.h lzf.h notify.c rdb.h redis-cli rio.h sha1.o t_list.o ziplist.h
anet.c config.o endianconv.o lzfP.h notify.o rdb.o redis-cli.c rio.o slowlog.c t_set.c ziplist.o
anet.h crc64.c fmacros.h Makefile object.c redisassert.h redis-cli.o scripting.c slowlog.h t_set.o zipmap.c
anet.o crc64.h help.h Makefile.dep object.o redis-benchmark redis.h scripting.o slowlog.o t_string.c zipmap.h

文件比较多,其中有用的就是几个可执行文件.

启动

./redis-server 

centos快速安装redis的更多相关文章

  1. Centos 7 安装redis,修改配置文件不生效、外网不能访问。

    前提: 在用Centos 7 安装 redis 时,遇上一下几个问题 ,记录下 . 1.修改配置文件,按官网步骤启动,不生效. 2.外网无法访问redis. 步骤: 1.打开centos 虚拟机 ,按 ...

  2. Linux(Centos)之安装Redis及注意事项

    1.redis简单说明 a.在前面我简单的说过redis封装成共用类的实现,地址如下:http://www.cnblogs.com/hanyinglong/p/Redis.html. b.redis是 ...

  3. CentOS 编译安装 Redis (实测 笔记 Centos 7.3 + redis 3.2.8)

    环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7.0-1406-x86_64-DVD.iso 安装步骤: 1.准备 1.1 显示系统版 ...

  4. CentOS快速安装最新版本的SaltStack

    SaltStack是一个类似Puppet的自动运维管理工具,打算用它来管理实验室的所有服务器包括OpenStack,当然要想把它玩起来首先得把它安装上, 这里我写了一个简单的脚本来在CentOS下快速 ...

  5. centOS 中安装 Redis

    之前安装过了 jdk,mysql,tomcat,这次安装 Redis,最开始是将 redis 安装在 windows 下 run 的,这时安装在 Linux 里面试试. 1 . 首先得安装 c环境,用 ...

  6. centos下安装redis/mysql等基础环境

    1.修改语言 阿里云的ECS默认语言是:en_US.UTF-8,需要改成zh_CN.UTF-8 修改方法:vim /etc/locale.conf,然后重启. 查看方法:echo $LANG 2.安装 ...

  7. CentOS下安装Redis及Redis的PHP扩展

    1.安装Redis 1.1 如果没有安装wget,安装wget yum install wget 1.2 在http://redis.io/download页面查看redis版本,并下载安装 wget ...

  8. Centos下安装Redis

    转自:http://nnzhp.cn/article/9/ 遇到问题,安装后并启动,redis-cli报错:Could not connect to Redis at 127.0.0.1:6379: ...

  9. centOS上安装redis

    1.安装tcl支持 yum install tcl 2.安装redis我们以最新的2.8.9为例 $ wget http://download.redis.io/releases/redis-2.8. ...

随机推荐

  1. mongodb学习(二)分级查询数组中的值

    (PS: 标题有点不妥当...) 大概是这样...数据结构如下: 需要模糊查询title的值... mongodb中操作语句: 主要是注意这里urlElements不需要加[0]...我开始的时候写成 ...

  2. 如何检测 Android Cursor 泄漏

    简介: 本文介绍如何在 Android 检测 Cursor 泄漏的原理以及使用方法,还指出几种常见的出错示例.有一些泄漏在代码中难以察觉,但程序长时间运行后必然会出现异常.同时该方法同样适合于其他需要 ...

  3. 在php中使用jquery uploadify进行多图片上传

    jquery uploadify是一款Ajax风格的批量图片上传插件,在PHP中使用jquery uploadify很方便,请按照本文介绍的方法和步骤,为你的PHP程序增加jquery uploadi ...

  4. 封装bt轮播图淡入淡出效果样式

    <!--BT轮播图-->    <div data-ride="carousel" class="carousel slide carousel_inn ...

  5. 2.4. 属性(Core Data 应用程序实践指南)

    属性的名称必须以小写字母开头. 添加 name 和 quantity 属性.

  6. 无法打开登录 'ASPState' 中请求的数据库。登录失败。

    问题: 无法打开登录 'ASPState' 中请求的数据库.登录失败.用户 'WH\Administrator' 登录失败. 解决方法: (启动SQL Server Agent服务) 从本系统中找到: ...

  7. Angularjs在线api文档

    http://docs.ngnice.com/api            文档 http://www.ngnice.com/showcase/#/home/home                  ...

  8. Visual Studio 2015的安装与基本使用

    为什么要使用Visual Studio 2015? 它是中文的.界面友好.自动补全.实时语法错误提示(上图中波浪线部分).单步调试……最重要的社区版是免费的!所以你不必再使用破解的.老旧的的不兼容现代 ...

  9. 介绍一个开源的在线管理SQLServer的小工具--SQLEntMan

    近来有许多人问起SQL在线管理的问题,遂将以前用过的一个开源SQL 在线管理工具修改了一下,并分享. 看下效果图: 原项目的地址:http://sourceforge.net/projects/asp ...

  10. C# backgroundworker使用方法

    # BackgroundWorker 控件的几个实例(C# backgroundworker使用方法): 在 WinForms 中,有时要执行耗时的操作,在该操作未完成之前操作用户界面,会导致用户界面 ...