Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3759449
  • 博文数量: 880
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 6155
  • 用 户 组: 普通用户
  • 注册时间: 2016-11-11 09:12
个人简介

To be a better coder

文章分类

全部博文(880)

文章存档

2022年(5)

2021年(60)

2020年(175)

2019年(207)

2018年(210)

2017年(142)

2016年(81)

分类: LINUX

2020-09-18 17:53:04

openssl版本升级

1.查看openssl版本

[root@node2 openssh-8.0p1]# openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013

2.下载指定版本的openssl软件

在下面网址:下载 后面的版本号可以换

[root@node2 opt]# wget openssl-1.1.0k.tar.gz

3.编译安装

cd openssl-1.1.0k
./config shared zlib
make && make install

4.配置

[root@node2]# mv /usr/bin/openssl /usr/bin/openssl.bak
[root@node2]# mv /usr/include/openssl /usr/include/openssl.bak
[root@node2]#  find / -name openssl
[root@node2]# ln -s /usr/local/bin/openssl /usr/bin/openssl
[root@node2]# ln -s /usr/local/include/openssl /usr/include/openssl
root@node2]# echo "/usr/local/lib64/" >> /etc/ld.so.conf
[root@node2]# ldconfig 
[root@node2]# openssl version -a

5.验证

[root@node2 openssl-1.1.0k]# openssl version 
OpenSSL 1.1.0k  28 May 2019

[root@compile275 bin]# mv /usr/bin/openssl /usr/bin/openssl.bak
[root@compile275 bin]# ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ssl/
[root@compile275 bin]# ln -s /usr/local/ssl/bin/openssll /usr/bin/openssl
openssl
[root@compile275 bin]# ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
[root@compile275 bin]#
[root@compile275 bin]#

[root@compile275 /]#
[root@compile275 /]#  find / -name openssl
/usr/local/include/openssl
/usr/local/ssl/include/openssl
/usr/local/ssl/bin/openssl
/usr/include/openssl
/usr/lib64/openssl
/usr/bin/openssl
/usr/share/licenses/openssl
/usr/share/doc/openssl
/usr/share/bash-completion/completions/openssl
/etc/pki/ca-trust/extracted/openssl
/home/include/usrinclude/openssl
/home/zhulg/vetrix_2.1/openSource/dpdk-17.02/drivers/crypto/openssl
/home/zhulg/vetrix_2.1/openSource/net-snmp-5.7.2/snmplib/openssl
/home/zhulg/vetrix_2.1/install_root/usr/include/openssl
/home/zhulg/vetrix_2.1/install_root/usr/share/licenses/openssl
/home/zhulg/vetrix_2.1/install_root/usr/bin/openssl
/home/zhulg/vetrix_1.6_yitiji/openSource/paho.mqtt.c-master/test/openssl
/home/zhulg/vetrix_1.6_yitiji/openSource/nginx-1.14.2/auto/lib/openssl
/home/zhulg/vetrix_1.6_yitiji/openSource/dpdk-17.02/drivers/crypto/openssl
/home/zhulg/vetrix_1.6_yitiji/install_root/usr/include/openssl
/home/zhulg/vetrix_1.6_yitiji/install_root/usr/share/licenses/openssl
/home/zhulg/vetrix_1.6_yitiji/install_root/usr/bin/openssl
/home/zhulg/vetrix_1.6/openSource/paho.mqtt.c-master/test/openssl
/home/zhulg/vetrix_1.6/openSource/dpdk-17.02/drivers/crypto/openssl
/home/zhulg/vetrix_2.1_bak/openSource/dpdk-17.02/drivers/crypto/openssl
/home/zhulg/vetrix_2.1_bak/openSource/net-snmp-5.7.2/snmplib/openssl
/home/zhulg/vetrix_2.1_bak/install_root/bin/openssl
/home/zhulg/vetrix_2.1_bak/install_root/usr/include/openssl
/home/zhulg/vetrix_2.1_bak/install_root/usr/share/licenses/openssl
/home/zhulg/vetrix_2.1_bak/install_root/usr/bin/openssl
/home/zhulg/vetrix_2.1_bak/install_root/usr/sbin/openssl
/home/zhulg/vetrix_2.1_bak/install_root/sbin/openssl

阅读(1072) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~