# Download Tomcat 10.1.x (use the latest 10.1.x release)
wget https://archive.apache.org/dist/tomcat/tomcat-10/v10.1.55/bin/apache-tomcat-10.1.55.tar.gz
# Extract and deploy
tar xzf apache-tomcat-10.1.55.tar.gz
export CATALINA_HOME=$(pwd)/apache-tomcat-10.1.55
cp jenkins.war $CATALINA_HOME/webapps/