1, you first need to download Tomcat: https://tomcat.apache.org/
2, use sz: download, rz upload.
First you need to install Service: yum -y install lrzsz
After installation, use the rz command you downloaded tomcat sitting uploaded to your current directory.
3, extract: tar zxvf file name
4, configure the environment
First into the bin directory:
Edit setclasspath.sh file:
Add the following:
5, running tomcat
Run back to the bin directory file startup.sh