Tomcat is installed under Linux (three) Liunx

Need-based system installed jdk tomcat jdk

Need tools xshell6 and Xftp6

First, download the tomcat at this time and your attention must be jdk version tomcat8 on and so on if you downloaded the jdk 8

https://tomcat.apache.org/

Here Insert Picture DescriptionSecond, upload it to your linux system
Here Insert Picture Description

Third, decompress and move to the specified directory

unzip

tar -zxvf apache-tomcat-8.5.41.tar.gz

Change directory name

mv apache-tomcat-8.5.41 tomcat

Mobile Directory

mv tomcat/ /usr/local/

Common Commands

start up

/usr/local/tomcat/bin/startup.sh

stop

/usr/local/tomcat/bin/shutdown.sh

Execute scripts within the directory

./startup.sh
Published 45 original articles · won praise 7 · views 919

Guess you like

Origin blog.csdn.net/qq_42222342/article/details/103847801