zoukankan      html  css  js  c++  java
  • yum 安装redis

    今天学习redis时,用yum直接安装redis直接报错,后来百度一下得到一下解决方案。

    1:去下面的网站下载EPEL对应的版本:(epel是fedora维护的yum源,里面软件众多)
    http://fedoraproject.org/wiki/EPEL
    2:我下载的是这个:
    wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    3:安装epel:
    rpm -ivh epel-release-6-8.noarch.rpm
    warning: epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
    Preparing...                ########################################### [100%]
       1:epel-release           ########################################### [100%]

    4:安装redis:
    [root@CentOS6 ~]# yum install redis
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    epel/metalink                                            | 4.1 kB     00:00    
    * base: mirrors.btte.net
    * epel: mirrors.sohu.com
    * extras: mirrors.btte.net
    * updates: mirrors.btte.net
    epel                                                     | 4.3 kB     00:00    
    epel/primary_db                                          | 5.0 MB     00:43    
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package redis.x86_64 0:2.4.10-1.el6 will be installed
    --> Finished Dependency Resolution
    Dependencies Resolved
    ================================================================================
    Package         Arch             Version                  Repository      Size
    ================================================================================
    Installing:
    redis           x86_64           2.4.10-1.el6             epel           213 k
    Transaction Summary
    ================================================================================
    Install       1 Package(s)
    Total download size: 213 k
    Installed size: 668 k
    Is this ok [y/N]:y

  • 相关阅读:
    va_start和va_end使用详解
    Visual Assist X设置
    google 快捷键
    /bin/sh^M: bad interpreter: No such file or directory 异常
    动态链接库的学习(一)
    sprintf函数的用法详解
    错误:在 C99 模式之外使用‘for’循环初始化声明
    VC6.0在win7下显示行号的插件
    错误: 程序中有游离的‘\302’ ‘\240’等
    Linux Shell编程笔记一:相关命令
  • 原文地址:https://www.cnblogs.com/Peacha/p/3720488.html
Copyright © 2011-2022 走看看