1.用xshell.鏈接到服務器
2.使用ps -ef|grep tomcat
3.停止tomcat服務,使用命令:systemctl stop adq-dses.service
4.再次查看tomcat服務,使用ps -ef|grep tomcat
5.打開被測系統,看是否正常,這里報錯了
6.啟動tomcat,使用命令:systemctl start adq-dses.service
7. 再次查看tomcat服務,使用ps -ef|grep tomcat
8.可以看到tomcat服務被啟動了