离线安装gcc,openssh9.7,zlib,perl,openssl
创建文件夹www,位置root/www
mkdir www
离线安装gcc
http://mirror.nju.edu.cn/centos-altarch/7.9.2009/isos/aarch64/CentOS-7-aarch64-Everything-2009.iso
rpm -ivh mpfr-3.1.1-4.el7.x86_64.rpm
rpm -ivh libmpc-1.0.1-3.el7.x86_64.rpm
rpm -ivh kernel-headers-3.10.0-1160.el7.x86_64.rpm
rpm -ivh glibc-headers-2.17-317.el7.x86_64.rpm
rpm -ivh glibc-devel-2.17-317.el7.x86_64.rpm
rpm -ivh cpp-4.8.5-44.el7.x86_64.rpm
rpm -ivh gcc-4.8.5-44.el7.x86_64.rpm
安装openssh
https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/openssh-9.7.tar.gz
https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/openssh-9.7.tar.gz
安装openssl
https://www.openssl.org/source/openssl-3.2.1.tar.gz
https://www.openssl.org/source/openssl-3.2.1.tar.gz
安装zlib
https://www.zlib.net/current/zlib.tar.gz
安装perl
https://www.cpan.org/src/5.0/perl-5.38.2.tar.gz
将文件移入www
cp perl-5.38.2.tar www/perl-5.38.2.tar
cp zlib-1.3.1.tar /www/zlib-1.3.1.tar
cp openssl-3.2.1.tar www/openssl-3.2.1.tar
cp openssh-9.7.tar.gz www/openssh-9.7.tar.gz
perl -V
cd www/
tar -xvf perl-5.38.2.tar