【发布时间】:2017-10-07 02:32:28
【问题描述】:
我正在处理一个项目,但我需要使用 Apache Tomcat 来运行我的用户界面。我也在通过 Virtualbox 在 Ubuntu 上运行我的项目。我正在按照本教程安装 Tomcat:https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04 但是,当我在终端中键入此命令时:
sudo tar xzvf apache-tomcat-8*tar.gz -C /opt/tomcat --strip-components=1
我收到以下错误:
-C /opt/tomcat --strip-components=1
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
我已经研究过这个问题,但仍然不明白或不知道如何解决它。
我做错了什么?
【问题讨论】:
标签: java apache ubuntu tomcat terminal