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. bitmap 加载的时候出现OOM,nullpointer

    1.OOM :对图片进行压缩,效果还不错:http://182.92.150.15:9876/static/server/topic_user/8068/201506/e5b37fec-0919-11 ...

  2. linux下启动tomcat----Cannot find ./catalina.sh

    参考:http://dearseven.blog.163.com/blog/static/1005379222013764440253/ linux 下启动tomcat [root@test233 b ...

  3. 扫码JSP

    扫码 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.o ...

  4. iOS 之 WebView 简单使用

    1. 代理 UIWebViewDelegate 2. 创建 UIWebView myWebView=[[UIWebView alloc] initWithFrame:CGRectMake(, ,sel ...

  5. css3实战版的点击列表项产生水波纹动画

    1.html+js: <!DOCTYPE html><html><head lang="en">    <meta charset=&qu ...

  6. jquery 编写插件入门

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <sc ...

  7. Linux下修改键盘映射

    一篇关于修改键盘映射比较靠谱的文章,收藏一下! 原文地址:http://www.07net01.com/2016/04/1436249.html --------------------------- ...

  8. Ubuntu 安装wireshark

    参考:ubuntu下安装wireshark 依赖及相关包的安装 1.编译工具 apt-get install build-essential 2.GTK+的开发文件和GLib库(libraries) ...

  9. 时钟(AnalogClock和DigitalClock)的功能与用法

    时钟UI组件是两个非常简单的组件,DigitalClock本身就继承了TextView——也就是说它本身就是文本框,只是它里面显示的内容总是当前时间.与TextView不同的是为DigitalCloc ...

  10. EditText的功能与用法

    EditText与TextView非常相似,它甚至与TextView共用了绝大部分XML属性和方法.EditText和TextView的最大区别在于:EditText可以接受用户输入. EditTex ...