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
相关推荐
一只自律的鸡15 分钟前
【Linux驱动】bug处理 ens33找不到IP
linux·运维·bug
17(无规则自律)31 分钟前
【CSAPP 读书笔记】第二章:信息的表示和处理
linux·嵌入式硬件·考研·高考
!chen31 分钟前
linux服务器静默安装Oracle26ai
linux·运维·服务器
REDcker1 小时前
Linux 文件描述符与 Socket 选项操作详解
linux·运维·网络
蒹葭玉树1 小时前
【C++上岸】C++常见面试题目--操作系统篇(第二十八期)
linux·c++·面试
2501_927773071 小时前
imx6驱动
linux·运维·服务器
hy____1231 小时前
Linux_进程间通信
linux·运维·服务器
郭涤生2 小时前
C++的函数是否可以做到完全覆盖Linux和windows的跨平台
linux·c++·windows
南宫码农2 小时前
神马影视8.5版本如意伪静态+视频教程
linux·运维·centos
坐怀不乱杯魂3 小时前
Linux网络 - 网络层
linux·服务器·网络