Start a project on linux?

Type the web project into a war package and put it in the webapps folder under tomcat of the linux server.

1. First, enter the bin directory of tomcat: cd /usr/tomcat/bin

2. Shut down tomcat: sh ./shutdown.sh

3. Start tomcat: sh ./startup.sh

4. Enter the folder where the logs are stored: cd /usr/tomcat/logs

5. View the log: tail -f catalina.out


I don't feel that I have actually operated it. It is very tall. It is best to have a server to try it. It is not difficult.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324496147&siteId=291194637