Start, Stop and restart Tomcat on VPS

Installing Tomcat on VPS will not enable tomcat service through which users can stop and restart tomcat using command service tomcat restart. To enable this service you will have to create a new file in /etc/init.d as tomcat and also you have to copy the following contents into it which are given below:-
#vi /etc/init.d/tomcat
#!/bin/bash
#
# Startup [...]