解决Linux上解压报错gzip: stdin: not in gzip format

今天准备安装mycat数据库中间件玩玩,在解压压缩包时报错。

tar -zvxf mycat2-1.12-SNAPSHOT.tar.gz
#报错
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

报错原因是这个压缩包没有用gzip格式压缩,所以不用加z指令就可以了

命令:

tar -xvf mycat2-1.12-SNAPSHOT.tar.gz

mycat/bin/
mycat/conf/
mycat/conf/sql/
...
# linux   编程思想  

评论

企鹅群:39438021

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×