How to use xshell install tomcat on Ali cloud server

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

 

Guess you like

Origin www.cnblogs.com/Guorisy/p/12446519.html