[root@192 shardingsphere]# tar -xzvf apache-shardingsphere-5.0.0-beta-shardingsphere-proxy-bin.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
百度了下,说是可能需要去除z,使用 tar -xvf,仍然不行;然后还有说是文件损坏的
看了下官方文档,是需要先校验,保证内容没有被篡改,才能解压
校验报错
没有下载KEYS,需要去官网下载
[root@192 shardingsphere]# gpg -i KEYS
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: can't open `KEYS'
KEYS没导入No public key,识别不到
[root@192 shardingsphere]# gpg --verify apache-shardingsphere-5.0.0-beta-shardingsphere-proxy-bin.tar.gz.asc apache-shardingsphere-5.0.0-beta-shardingsphere-proxy-bin.tar.gz
gpg: Signature made Sun 13 Jun 2021 10:19:56 AM CST using RSA key ID C8ADAD3A
gpg: Can't check signature: No public key
[root@192 shardingsphere]# gpg --verify apache-shardingsphere-5.0.0-alpha-shardingsphere-ui-bin.tar.gz.asc apache-shardingsphere-5.0.0-alpha-shardingsphere-ui-bin.tar.gz
gpg: Signature made Tue 17 Nov 2020 09:13:40 AM CST using RSA key ID C8ADAD3A
gpg: BAD signature from "panjuan <panjuan@apache.org>"
安装shardingSphere最新发行版的gz压缩包解压报错,校验报错gzip: stdin: not in gzip format
文章目录解压报错校验报错正确的安装步骤解压报错gzip: stdin: not in gzip format[root@192 shardingsphere]# tar -xzvf apache-shardingsphere-5.0.0-beta-shardingsphere-proxy-bin.tar.gz gzip: stdin: not in gzip formattar: Child returned status 1tar: Error is not recoverable: e