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
相关推荐
夜月yeyue3 分钟前
多级流水线与指令预测
linux·网络·stm32·单片机·嵌入式硬件
IvanCodes28 分钟前
十五、深入理解 SELinux
linux·运维·服务器
云博客-资源宝31 分钟前
【防火墙源码】WordPress防火墙插件1.0测试版
linux·服务器·数据库
qq_4798754333 分钟前
systemd-resolved.service实验实战2
linux·服务器·网络
CS Beginner3 小时前
【Linux】安装配置mysql中出现的问题2
linux·mysql·adb
君之嘞9 小时前
【操作系统基础】认识操作系统:系统调用
linux·运维·microsoft
渡我白衣9 小时前
访问文件后出现的 ~$ 文件是什么?它和缓冲机制、数据丢失有什么关系?
linux
爱倒腾的老唐9 小时前
07、Linux 文件管理
linux·运维·服务器
Raymond运维10 小时前
MySQL包安装 -- RHEL系列(离线RPM包安装MySQL)
linux·运维·数据库·mysql
-dcr10 小时前
24.grep 使用手册
linux·运维开发·grep