Change Tomcat mirror for CentOS

This commit is contained in:
Har-Kuun 2021-02-15 11:04:56 -06:00 committed by GitHub
parent 28847126ef
commit 5168e6b053
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,7 +342,7 @@ function install_guacamole_centos
function install_tomcat9_centos
{
curl -s https://mirrors.ocf.berkeley.edu/apache/tomcat/tomcat-9/v9.0.38/bin/apache-tomcat-9.0.38.tar.gz | tar -xz
curl -s https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.38/bin/apache-tomcat-9.0.38.tar.gz | tar -xz
mv apache-tomcat-9.0.38 /etc/tomcat9
echo "export CATALINA_HOME="/etc/tomcat9"" >> ~/.bashrc
source ~/.bashrc