From 631ce76d6a4a27fa2b5c667ddfb4dac34325c85f Mon Sep 17 00:00:00 2001 From: Emmanuel varam <162671200+Emmanuelvaram123@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:20:56 +0530 Subject: [PATCH] changed the latest version of the tomcat --- tomcat.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tomcat.sh b/tomcat.sh index 6286265c..a54922f7 100644 --- a/tomcat.sh +++ b/tomcat.sh @@ -1,11 +1,11 @@ yum install java-17-amazon-corretto -y -wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.112/bin/apache-tomcat-9.0.112.tar.gz -tar -zxvf apache-tomcat-9.0.112.tar.gz -sed -i '56 a\' apache-tomcat-9.0.112/conf/tomcat-users.xml -sed -i '57 a\' apache-tomcat-9.0.112/conf/tomcat-users.xml -sed -i '58 a\' apache-tomcat-9.0.112/conf/tomcat-users.xml -sed -i '59 a\' apache-tomcat-9.0.112/conf/tomcat-users.xml -sed -i '56d' apache-tomcat-9.0.112/conf/tomcat-users.xml -sed -i '21d' apache-tomcat-9.0.112/webapps/manager/META-INF/context.xml -sed -i '22d' apache-tomcat-9.0.112/webapps/manager/META-INF/context.xml -sh apache-tomcat-9.0.112/bin/startup.sh +wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.115/bin/apache-tomcat-9.0.115.tar.gz +tar -zxvf apache-tomcat-9.0.115.tar.gz +sed -i '56 a\' apache-tomcat-9.0.115/conf/tomcat-users.xml +sed -i '57 a\' apache-tomcat-9.0.115/conf/tomcat-users.xml +sed -i '58 a\' apache-tomcat-9.0.115/conf/tomcat-users.xml +sed -i '59 a\' apache-tomcat-9.0.115/conf/tomcat-users.xml +sed -i '56d' apache-tomcat-9.0.115/conf/tomcat-users.xml +sed -i '21d' apache-tomcat-9.0.115/webapps/manager/META-INF/context.xml +sed -i '22d' apache-tomcat-9.0.115/webapps/manager/META-INF/context.xml +sh apache-tomcat-9.0.115/bin/startup.sh