简体   繁体   English

wget无法下载apache tomcat 8

[英]wget can't download apache tomcat 8

I am trying to install Apache Tomcat 8 through these instructions: https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-centos-7 我正在尝试通过以下说明安装Apache Tomcat 8: https//www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-centos-7

I am using centos 7.2 on a virtual machine. 我在虚拟机上使用centos 7.2。

When i run the command wget http://mirror.sdunix.com/apache/tomcat/tomcat-8/v8.0.23/bin/apache-tomcat-8.0.23.tar.gz i get this every time: 当我运行命令wget http://mirror.sdunix.com/apache/tomcat/tomcat-8/v8.0.23/bin/apache-tomcat-8.0.23.tar.gz时我每次都会得到这个:

Resolving mirror.sdunix.com (mirror.sdunix.com)... 74.206.97.82 Connecting to mirror.sdunix.com (mirror.sdunix.com)|74.206.97.82|:80... failed: Connection timed out. 解析mirror.sdunix.com(mirror.sdunix.com)... 74.206.97.82连接到mirror.sdunix.com(mirror.sdunix.com)| 74.206.97.82 |:80 ...失败:连接超时。 Retrying. 重试。

You get this error probably because this mirror is not responding anymore, try this: 您可能会因为此镜像不再响应而收到此错误,请尝试以下操作:

wget http://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.38/bin/apache-tomcat-8.0.38.tar.gz

Or if you need the exact same version, try this: 或者如果您需要完全相同的版本,请尝试以下方法:

wget http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.23/bin/apache-tomcat-8.0.23.tar.gz

版本已达到39,您必须使用https。

wget https://www-us.apache.org/dist/tomcat/tomcat-8/v8.0.39/bin/apache-tomcat-8.0.39.tar.gz

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM