First enter the bin directory of tomcat
cd /home/hstomcat/apache-tomcat-7.0.63/bin
Your own environment may have different installation goals, so you need to control it yourself.
(Recommended tutorial: linux tutorial)
Start tomcat
Use the ls command, you can see the files in the bin directory File
Run the startup command script
sh startup.sh
or
./startup.sh
in the bin directory so that tomcat is enabled.
Check whether the tomcat process is started
ps aux | grep tomcat
Recommended related video tutorials: linux video tutorial
The above is the detailed content of How to start tomcat in linux. For more information, please follow other related articles on the PHP Chinese website!