chmod u+x *.sh (代表授权现在所处的文件目录下的所有以:.sh的文件
启动tomcat:/usr/local/tomcat9/bin/shutdown.sh
关闭tomcat:/usr/tomcat/tomcat9/bin/shutdown.sh
关闭开启centos防火墙https://blog.csdn.net/WI_232995/article/details/77389131
#### centos7 关闭防火墙
Firewall:
systemctl start firewalld.service#启动firewall
systemctl stop firewalld.service#停止firewall
systemctl disable firewalld.service#禁止firewall开机启动
改成iptables:
systemctl startiptables.service