自动化统一安装部署tomcat 背景:多台服务器来回切换,安装部署tomcat,浪费时间 目的: 一次修改,统一安装,统一部署。 进程:ps -ef|grep tomcat|grep -v 'grep'|awk '{print $2}' shell脚本: