I uninstalled Apache to install Nginx instead but this keeps occuring.
I tried
echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" >> /etc/wgetrc
also
cat /etc/hosts
cp /etc/hosts /etc/hosts_bak
sed -i "/bt.cn/d" etc/hosts/
I found around aaPanel forum.
To connect to node.aapanel.com insecurely, use--no-check-certificate'.
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
--2022-12-09 11:57:41-- https://node.aapanel.com/src/ngx_cache_purge-2.3.tar.gz
Resolving node.aapanel.com (node.aapanel.com)... 128.1.164.196
Connecting to node.aapanel.com (node.aapanel.com)|128.1.164.196|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name ‘node.aapanel.com’.
To connect to node.aapanel.com insecurely, use `--no-check-certificate'.
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot stat 'ngx_cache_purge-2.3': No such file or directory
--2022-12-09 11:57:41-- https://node.aapanel.com/src/nginx-sticky-module.zip
Resolving node.aapanel.com (node.aapanel.com)... 128.1.164.196
Connecting to node.aapanel.com (node.aapanel.com)|128.1.164.196|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name ‘node.aapanel.com’.
To connect to node.aapanel.com insecurely, use --no-check-certificate'.
Archive: nginx-sticky-module.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of nginx-sticky-module.zip or
nginx-sticky-module.zip.zip, and cannot find nginx-sticky-module.zip.ZIP, period.
--2022-12-09 11:57:42-- https://node.aapanel.com/src/nginx-http-concat-1.2.2.zip
Resolving node.aapanel.com (node.aapanel.com)... 128.1.164.196
Connecting to node.aapanel.com (node.aapanel.com)|128.1.164.196|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name ‘node.aapanel.com’.
To connect to node.aapanel.com insecurely, use--no-check-certificate'.
Archive: nginx-http-concat.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of nginx-http-concat.zip or
nginx-http-concat.zip.zip, and cannot find nginx-http-concat.zip.ZIP, period.
mv: cannot stat 'nginx-http-concat-1.2.2': No such file or directory
--2022-12-09 11:57:43-- https://node.aapanel.com/src/lua-nginx-module-0.10.13.zip
Resolving node.aapanel.com (node.aapanel.com)... 128.1.164.196
Connecting to node.aapanel.com (node.aapanel.com)|128.1.164.196|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name ‘node.aapanel.com’.
To connect to node.aapanel.com insecurely, use --no-check-certificate'.
Archive: lua-nginx-module-0.10.13.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of lua-nginx-module-0.10.13.zip or
lua-nginx-module-0.10.13.zip.zip, and cannot find lua-nginx-module-0.10.13.zip.ZIP, period.
mv: cannot stat 'lua-nginx-module-0.10.13': No such file or directory
--2022-12-09 11:57:43-- https://node.aapanel.com/src/ngx_devel_kit-0.3.1.zip
Resolving node.aapanel.com (node.aapanel.com)... 128.1.164.196
Connecting to node.aapanel.com (node.aapanel.com)|128.1.164.196|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name ‘node.aapanel.com’.
To connect to node.aapanel.com insecurely, use--no-check-certificate'.
Archive: ngx_devel_kit-0.3.1.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of ngx_devel_kit-0.3.1.zip or
ngx_devel_kit-0.3.1.zip.zip, and cannot find ngx_devel_kit-0.3.1.zip.ZIP, period.
mv: cannot stat 'ngx_devel_kit-0.3.1': No such file or directory
--2022-12-09 11:57:44-- https://node.aapanel.com/src/nginx-dav-ext-module-3.0.0.tar.gz
Resolving node.aapanel.com (node.aapanel.com)... 128.1.164.196
Connecting to node.aapanel.com (node.aapanel.com)|128.1.164.196|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name ‘node.aapanel.com’.
To connect to node.aapanel.com insecurely, use `--no-check-certificate'.
tar: This does not look like a tar archive
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot stat 'nginx-dav-ext-module-3.0.0': No such file or directory
cat: /www/server/panel/install/nginx/config.pl: No such file or directory
nginx.sh: line 289: cd: /www/server/nginx/src: No such file or directory
nginx.sh: line 299: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
Ubuntu 22.04.1 LTS
\l
Bit:64 Mem:23988M Core:4 gcc:11.3.0 cmake:3.22.1
Linux 5.15.0-1025-oracle aarch64
ERROR: nginx-1.21.4 installation failed.
安装失败,请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
或手机访问以下链接、扫码联系企业微信技术求助
|-Successify ---Script execution completed---`