Home >Operation and Maintenance >Apache >How to start apache tomcat in linux
How to start apache tomcat in linux?
1. Use the user who deployed tomcat at the time to connect to the remote linux operating system
2. Enter the tomcat bin directory
cd /home/hstomcat/apache-tomcat-7.0.63/bin
Your own environment may have different installation goals, so you need to control it yourself
3. Start tomcat
Use the ls command to see the files in the bin directory
Run the startup command script in the bin directory
sh startup.sh or ./startup.sh
This way tomcat is enabled
#4. Check whether the tomcat process is started
Use ps aux | grep tomcat Check whether the tomcat process is started
5. Shut down tomcat
Also in the bin directory of tomcat, use sh shutdown.sh to shut down tomcat
6. Restart tomcat
Restarting can be understood as shutting down tomcat first and then starting tomcat
sh shutdown.sh
sh startup. sh
The above is the detailed content of How to start apache tomcat in linux. For more information, please follow other related articles on the PHP Chinese website!