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以延长等待时间 重新测试

  • 相关阅读:
    基本类型
    匿名对象和匿名方法
    定时任务@SChedule详解
    docker的配置和安装
    数据库的学习
    docker的学习
    nginx的学习
    yyyy-MM-dd HH:mm:ss.SS的大小写的含义
    单例模式的学习
    layer的学习
  • 原文地址:https://www.cnblogs.com/tandy/p/10112595.html
Copyright © 2011-2022 走看看