Starting and Stopping Tomcat
Start Tomcat
Enter the following at the prompt to start Tomcat.
$ ./tomcat/bin/startup.sh
Check Tomcat Startup
After starting Tomcat, enter the following to check whether Tomcat started normally.
$ tail tomcat/logs/catalina.out
When you enter the command above, the contents of the catalina.out file are printed on the screen. Check that the last line contains a message like the following.
23-Mar-2019 01:17:16.985 정보 [main] org.apache.catalina.startup.Catalina.start Server startup in 8176 ms
Stop Tomcat
Enter the following at the prompt to stop Tomcat.
$ ./tomcat/bin/shutdown.sh