Ubuntu将openssl7.2离线升级到7.4
背景
因为安全原因,服务器无法访问外网,不能通过apt-get安装各种包,因此只能通过其他ubuntu服务器下载所有deb包后再拷贝过去手动安装。
步骤
1.找一台尽量相同版本的ubuntu服务器
2.在/var/cache/apt下新建一键下载依赖包的脚本download.sh
#!/bin/bash
logfile=/home/log
ret=""
function getDepends()
{
echo "fileName is" $1>>$logfile
# us
原创
2021-05-29 13:45:45 ·
287 阅读 ·
1 评论