zoukankan      html  css  js  c++  java
  • Centos6.5升级openssh、OpenSSL和wget

    阿里云相关链接

    https://www.aliyun.com/product/ecs?source=5176.11533457&userCode=kv73ipbs&type=copy

    1、OpenSSL

    1.1、查看版本

    使用如下命令查看版本:

    openssl version

    1.2、安装gcc依赖

    yum -y install gcc gcc-c++

    1.3、安装配置

    ./config --prefix=/usr/local/sslshared no-zlib
    echo $?
    make
    make install

    1.4、配置过程

    mv /usr/bin/openssl /usr/bin/openssl.bak
    mv /usr/include/openssl /usr/include/openssl.bak
    ln -s /usr/local/sslshared/bin/openssl /usr/bin/openssl
    ln -s /usr/local/sslshared/include/openssl /usr/include/openssl
    ln -s /usr/local/sslshared/lib/libssl.so.1.1 /usr/local/lib64/libssl.so
    echo "/usr/local/sslshared/lib/" >> /etc/ld.so.conf

    使修改后的/etc/ld.so.conf生效
    ldconfig -v

    2、openssh

    这个相对简单一些,编译安装后重启服务【ssh】即可

    注:

    这里有一篇关于openssh和OpenSSL的升级,我觉得挺好,大家可以借鉴一下。

    http://blog.51cto.com/techsnail/2138927

    3、wget升级

    https://lists.gnu.org/archive/html/bug-wget/2016-06/msg00033.html

    wget ftp://ftp.gnu.org/gnu/wget/wget-1.18.tar.gz

    ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --docdir=/usr/share/doc/wget --without-ssl
      make && make install
      history

  • 相关阅读:
    vue-router 动态路由匹配
    vue-router $route
    vuex mapActions
    vuex mapMutations 使用
    ES6 动态计算属性名
    vuex Payload 荷载
    vuex mapGetters
    vuex mapState使用
    Vue 引入ElementUI 2.0.11:依赖未发现的问题
    vuex 深入理解
  • 原文地址:https://www.cnblogs.com/daynote/p/9263965.html
Copyright © 2011-2022 走看看