zoukankan      html  css  js  c++  java
  • Redis 安装碰到问题

    一 make 报错

    1. 出现如下错误 :  

    cd src && make all

    make[1]: Entering directory '/xx/xx/redis-x.x.x/src'

             CC adlist.o

    /bin/sh: cc: command not found

    make[1]:  *** [adlist.o] Error 127 

    make[1]: Leaving directory '/xx/xx/redis-x.x.x/src'

    make: *** [all] Error 2

    ----------------------------------------------------------------------------------------------------------------------

    解决方法:执行 yum -y install gcc-c++

    2. 出现错误:[exception]: Executing test client: NOREPLICAS Not enough good slaves to write..

    NOREPLICAS Not enough good slaves to write.

    while executing.

    ----------------------------------------------------------------------------------------------------------------------

    解决方法:修改当前目录文件tests/integration/replication-2.tcl,将after 1000改为after 10000以延长等待时间 重新测试

  • 相关阅读:
    什么是云安全
    VMWare vForum 2013看点
    循环和数据的操作命令
    程序交互
    数据类型
    基础变量
    模块和包
    ['hello', 'sb']正则表达式
    os模块
    内置函数
  • 原文地址:https://www.cnblogs.com/tandy/p/10112595.html
Copyright © 2011-2022 走看看