在ubuntu 18.04中,我正在尝试安装Tomcat 7,但无法通过wget
命令下载该文件夹。转介自https://tecadmin.net/install-tomcat-7-on-ubuntu/
也可以尝试从安装Tomcat 9https://tecadmin.net/install-tomcat-9-on-ubuntu/#:~:text=Tomcat%20is%20a%20web%20server,18.04%20LTS%20%26%206.04%20LTS%20systems由于上述问题,但得到了与相同的错误
$ wget http://www-eu.apache.org/dist/tomcat/tomcat-9/v9.0.27/bin/apache-tomcat-9.0.27.tar.gz
--2020-12-11 14:52:19-- http://www-eu.apache.org/dist/tomcat/tomcat-9/v9.0.27/bin/apache-tomcat-9.0.27.tar.gz
Resolving www-eu.apache.org (www-eu.apache.org)... 2a01:4f9:2a:185f::2, 95.216.24.32
Connecting to www-eu.apache.org (www-eu.apache.org)|2a01:4f9:2a:185f::2|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.apache.org/tomcat/tomcat-9/v9.0.27/bin/apache-tomcat-9.0.27.tar.gz [following]
--2020-12-11 14:52:20-- https://downloads.apache.org/tomcat/tomcat-9/v9.0.27/bin/apache-tomcat-9.0.27.tar.gz
Resolving downloads.apache.org (downloads.apache.org)... 2a01:4f8:10a:201a::2, 88.99.95.219
Connecting to downloads.apache.org (downloads.apache.org)|2a01:4f8:10a:201a::2|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-12-11 14:52:22 ERROR 404: Not Found.
我提到https://noviello.it/come-installare-apache-tomcat-9-su-ubuntu-18-04-lts/也是,但没有用。
如何安装Tomcat,哪个版本适合我的ubuntu 18.04?
始终尝试从适当的开发人员资源下载:
https://tomcat.apache.org/download-90.cgi