CentOS7 OpenSSL升级1.1.1w

1.安装依赖

复制代码
# openssl-3.4.0需要perl-IPC-Cmd  perl-Data-Dumper
yum -y install gcc*
yum -y install perl-IPC-Cmd perl-Data-Dumper

2.备份、卸载旧OpenSSL

查找安装目录并备份

复制代码
# whereis openssl
openssl: /usr/bin/openssl /usr/lib64/openssl /usr/share/man/man1/openssl.1ssl.gz
mv /usr/bin/openssl  /usr/bin/openssl.old
mv /usr/lib64/openssl /usr/lib64/openssl.old
mv /usr/include/openssl  /usr/include/openssl.old

卸载 openssl

复制代码
yum -y remove openssl

3安装openssl

复制代码
tar -xzvf openssl-1.1.1w.tar.gz
cd openssl-1.1.1w/
./config --prefix=/usr
make && make install

4验证

复制代码
# whereis openssl
# openssl version
相关推荐
何中应8 分钟前
如何给虚拟机系统扩容
linux·运维·服务器
缘友一世24 分钟前
tmux 共享终端:AI 模型执行命令的实时审计方案
linux·llm·tmux·agent终端交互审计
沐雪轻挽萤34 分钟前
无人系统:Ubuntu 操作系统全景架构与实战工程指南
linux·运维·ubuntu
白緢41 分钟前
嵌入式 Linux + 内核开发高频问题及排查
java·linux·运维
蜡笔小新..1 小时前
Linux下Matplotlib使用Times New Roman字体的解决方案
linux·运维·matplotlib
洪流之源1 小时前
图像格式转换与内存对齐详解
linux
二宝哥1 小时前
Failed connect to mirrorlist.centos.org:80; Connection refused
linux·运维·centos
humors2211 小时前
一些安全类网站(不定期更新)
linux·网络·windows·安全·黑客·白帽
Kk.08021 小时前
Linux(九)fork复制进程与写时拷贝技术
linux·运维·服务器
一个人旅程~2 小时前
双系统时windows如何读取linux ext4格式硬盘分区?
linux·windows·经验分享·电脑