openssl升级

1、官网下载新版本

https://www.openssl.org/source/

2、查看版本

openssl version

查看openssl路径

whereis openssl

替换旧版本

mv /usr/bin/openssl /usr/bin/openssl_old

mv /usr/include/openssl /usr/include/openssl_old

3、解压新版本

tar -vxf openssl-*.tar.gz

cd openssl*

4、编译安装

./config --prefix=/usr/local/openssl

make && make install

5、新建软连接

ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl

ln -s /usr/local/openssl/include/openssl /usr/include/openssl

6、添加动态链路库数据

vim /etc/ld.so.conf

/usr/local/openssl/lib64/

7、更新动态库连接

ldconfig -v

8、查看openssl版本与新配置的版本是否一致

openssl version -a

相关推荐
2401_868534782 分钟前
以太网物理层标准
服务器·网络
tg_xianheyun9 分钟前
亚马逊云服务器部署网站的步骤与上线检查清单
服务器·阿里云·云计算
张洛闻Eren11 分钟前
Ansible【第一课】:Ansible介绍
运维·数据库·云原生·kubernetes·github·ansible
GeW40 分钟前
以Linux为基、数据库为核:新质生产力路线图下的企业架构升级
linux
郝亚军43 分钟前
RK3562 中有 mosquitto、nginx 了,还需要 http,ftp,tftp 等协议吗?
运维·nginx·http
云边云科技_云网融合1 小时前
从 POS 机到访客 Wi-Fi:零售门店安全建设的完整解法
服务器·网络·数据库
忆挽篱笙歌1 小时前
进程的状态
linux·ubuntu
kyle~1 小时前
Linux --- Socket 用户进程与内核网络协议栈之间的统一接口
linux·arm开发·网络协议
hiahiahia1231 小时前
Message 和对话
服务器·前端·数据库
重生之小比特1 小时前
【Linux系统】07 进程状态
linux·运维·服务器