博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
suse linux网络升级,SUSE linux升级perl及openssl
阅读量:7000 次
发布时间:2019-06-27

本文共 1289 字,大约阅读时间需要 4 分钟。

一、perl安装:

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

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

20180110214628616526.png

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

原文:http://www.cnblogs.com/jacob-tian/p/5970920.html

你可能感兴趣的文章