How to Start and Stop Apache Tomcat from the Command Line (Linux)
- by Admin
- 27 November 2018
- 1768 views

Apache Tomcat can be started and stopped from the command line. In this topic I will show you how to start and stop Tomcat from the command line in Ubuntu, which is a Linux distribution derived from remote with Putty Tool's.
To learn how to start and stop Apache Tomcat from the command line in a Linux environment, follow these 5 steps:
1. Remote your Ubuntu Server
2. Type in sudo /etc/init.d/tomcat7 start
and then hit Enter
sudo /etc/init.d/tomcat7 start
3. Output response from syntak
[ ok ] Starting tomcat7 (via systemctl): tomcat7.service.
4. To stop the Tomcat server, type in sudo /etc/init.d/tomcat7 stop
and then hit Enter.
sudo /etc/init.d/tomcat7 stop
5. Output response syntak
[ ok ] Starting tomcat7 (via systemctl): tomcat7.service.
Comments