* Connect to remote server via ssh
ssh username@server-ip:directory-location-on-server
i.e. ssh ifa@144.83.29.255:/var/lib/tomcat8/webapps
(or in Windows, use BitviseSSH client - graphical tool)
* List all service
service --status-all
* List specified service
service --status-all | grep tomcat
* Start a service
service {service-name} start
i.e. service tomcat8 start
* Stop a service
service {service-name} stop
i.e. service tomcat8 stop
* Check service status
service {service-name} status
i.e. service tomcat8 status