• SUSE linux升级perl及openssl


    一、perl安装:

    1、下载并解压软件:tar zxvf perl-5.24.0.tar.gz

    2、运行./configure.gnu -help查看帮助,运行./configure.gnu -des -Dprefix=/usr/local/perl -Dusethreads -Uversiononly设置源码

    3、编译及安装 make&make install

    4、备份旧perl,替换新perl

    mv /usr/bin/perl /usr/bin/perl.bak

    ln -s /usr/local/perl/bin/perl /usr/bin/perl

    5、查看perl版本及位置

      which is perl;whereis perl;perl -v

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

    二、openssl 安装:

    1、下载并解压软件:tar zxvf openssl-1.1.0b.tar.gz

    2、编译并安装

    # ./config

    # make&make install   ----make之后,可用make test检查编译是否正确

    3、备份旧openssl,替换新openssl

    # mv /usr/bin/openssl /usr/bin/openssl_bak

    # ln -s  /usr/local/ssl/bin/openssl /usr/bin/openssl

    4、查看openssl版本及位置

    which is openssl;whereis openssl;openssl version

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

    tips 1:

    perl:一般,“Perl”是指语言本身,而“perl”指程序运行的解释器

    openssl:OpenSSL是一个开源项目,为传输层安全(TLS)和安全套接字层(SSL)协议。它也是一个通用的密码库。 

    OpenSSL is an open source project that provides a toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols.It is also a general-purpose cryptography library.

     tips 2:

    环境变量:优先搜寻前面目录,使用前面目录的软件。

    软链接:ln -s

  • 相关阅读:
    教师派10
    教师派9
    简单理解socket(AF_INET&SOCK_STREAM,SOCK_DGRAM)
    Deepin安装MySQL(MariaDB)不提示设置密码问题(密码为空)
    经典排序算法-附python代码
    Linux虚拟环境virtualevn
    linux安装虚拟环境
    deepin安装虚拟环境virtualenv
    deepin安装虚拟环境virtualenv
    把握AFNet网络请求完成的正确时机
  • 原文地址:https://www.cnblogs.com/jacob-tian/p/5970920.html
Copyright © 2020-2023  润新知