当前位置:网站首页>编译Openssl
编译Openssl
2022-04-23 14:10:00 【小灰墩墩】
编译Openssl
openssl-3.0.2.tar.gz
实验环境
# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
1、安装相关依赖包
# yum install gcc
# yum install perl-CPAN
# yum install perl-YAML perl-Term-ReadLine perl-version perl-libs perl-devel perl-Test-* perl-Pod-* perl-ExtUtils-* perl-CGI
2、上传源码包
官方下载地址:http://www.openssl.org/
# cd /usr/local/src
# rz -b
# ls /usr/local/src/
openssl-3.0.2.tar.gz
3、解压
# pwd
/usr/local/src
# tar xvf openssl-3.0.2.tar.gz
4、编译&&安装
# pwd
/usr/local/src
# cd openssl-3.0.2/
# ./Configure --prefix=/opt/openssl
# make && make install
5、创建软连接
# ln -sv /opt/openssl/lib64/libssl.so.3 /lib64/libssl.so.3
# ln -sv /opt/openssl/lib64/libcrypto.so.3 /lib64/libcrypto.so.3
6、备份并重置新的openssl
# mv /usr/bin/openssl /usr/bin/openssl_old
# ln -sv /opt/openssl/bin/openssl /usr/bin/openssl
7、验证
# openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
版权声明
本文为[小灰墩墩]所创,转载请带上原文链接,感谢
https://blog.csdn.net/swyer_66/article/details/124209748
边栏推荐
- gif转为静态图片处理
- 关于NodeJS中JSON5的相关配置和使用
- 线程组ThreadGroup使用介绍+自定义线程工厂类实现ThreadFactory接口
- Mysql的安装过程(已经安装成功的步骤说明)
- Jmeter设置环境变量支持在任意终端目录输入jmeter直接启动
- Win10 comes with groove music, which can't play cue and ape files. It's a curvilinear way to save the country. It creates its own aimpack plug-in package, and aimp installs DSP plug-in
- Multiple inheritance virtual base exercises
- Redis数据库讲解(一)
- rsync+inotify远程同步
- Arrays类的使用案例
猜你喜欢
About the configuration and use of json5 in nodejs
Operation instructions of star boundary automatic text translator (advanced version)
统信UOS PHP7.2.3升级至PHP7.2.24
政务云迁移实践 北明数科使用HyperMotion云迁移产品为某政府单位实施上云迁移项目,15天内完成近百套主机迁移
云迁移的六大场景
HyperBDR云容灾V3.3.0版本发布|容灾功能升级,资源组管理功能优化
HyperBDR云容灾V3.2.1版本发布|支持更多云平台,新增监控告警功能
Some good articles on pthread multithreading
Pass in external parameters to the main function in clion
Win10 comes with groove music, which can't play cue and ape files. It's a curvilinear way to save the country. It creates its own aimpack plug-in package, and aimp installs DSP plug-in
随机推荐
Recyclerview advanced use (I) - simple implementation of sideslip deletion
Multiple inheritance virtual base exercises
Visio画拓扑图随记
更改plsql工具栏的图标大小
星界边境Starbound创意工坊订阅的mod的存放路径
mysql 5.1升级到5.66
線程組ThreadGroup使用介紹+自定義線程工廠類實現ThreadFactory接口
在MAC上安装mysql
预览CSV文件
Logback logger and root
redis数据库讲解(三)redis数据类型
MYSQL一种分表实现方案及InnoDB、MyISAM、MRG_MYISAM等各种引擎应用场景介绍
金融行业云迁移实践 平安金融云整合HyperMotion云迁移解决方案,为金融行业客户提供迁移服务
Visio installation error 1:1935 2: {XXXXXXXX
MySQL数据库讲解(七)
VMware15Pro在Deepin系统里面挂载真机电脑硬盘
Wechat applet communicates with low-power Bluetooth - sending data to hardware (III)
Logging module
星界边境文本自动翻译机(高级版)使用说明
Some good articles on pthread multithreading