zoukankan      html  css  js  c++  java
  • Linux Redis 安装异常处理

      环境:linux 中标麒麟,arrch64-neokylin-linux

      问题一: make 编译redis 时提示 :You need tcl 8.5 or newer in order to run the Redis。

        1、下载安装tcl 【在线】

    wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz  ##通过网络源进行下载tcl 包
    tar xzvf tcl8.6.1-src.tar.gz  -C /usr/local/    ##解压包到/usr/local/tcl8.6.1
    cd  /usr/local/tcl8.6.1/unix/    
    ./configure      ##使用默认配置,
    make  && make install  ##编译与安装

        2、离线方式下载安装tcl

          根据需要选择待安装版本:http://downloads.sourceforge.net/tcl/     (示例:8.6.1)http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz

          然后上传到服务器/目标地址 安装:

    tar -zxvf tcl8.6.1-src.tar.gz   ##解压
    cd /usr/local/tcl8.6.1/unix/    ./configure     ##使用默认配置, make && make install  ##编译与安装

        3、使用上述方法安装tcl成功之后,再次执行 make test 进行检查,没有异常信息,则问题解决。

      问题二:执行redis test 或安装redis 过程提示 Error:

          error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

          方法和问题一解决方案类似:下载安装/更新 libatomic  即可。

          (这里使用麒麟内部配置包:libatomic-8.2.1-1.3.1.el7.aarch64.rpm     ###安装方式:rpm -ivh libatomic-8.2.1-1.3.1.el7.aarch64.rpm)

  • 相关阅读:
    spring filter and interceptor
    spring 与 swagger 2 的整合
    spring 异步操作
    图片延迟加载 jquery,lazyload.js 调用的demo
    一、Spring的第一个课时
    线程的基本了解
    HTTPS/HTTP监听常见问题
    Leetcode 118 杨辉三角
    HashSet的源码解释
    HashMap源码理解
  • 原文地址:https://www.cnblogs.com/skyheaving/p/14078005.html
Copyright © 2011-2022 走看看