Tomcat download address https://tomcat.apache.org/
You can choose the appropriate version to download in the download location
XFtp enters /usr/local, put apache-tomcat-9.0.73.tar.gz in and
decompress:
tar -zxvf apache-tomcat-9.0.73.tar.gz
Heavy Naming:
mv apache-tomcat-9.0.73 tomcat
Delete the compressed package:
rm -f apache-tomcat-9.0.73.tar.gz
Enter the bin directory of the directory tomcat:
cd /usr/local/tomcat/bin/
start up:
./startup.sh
View tomcat startup effect:
Enter the public network IP + 8080 (the default port of 8080) in the browser,
which means that Tomcat has been successfully installed on Linux.