安装tomcat可以通过yum
#yum install tomcat
#yum install tomcat-admin-webapps
#yum install tomcat-webapps
#yum install tomcat-doc
启动、停止tomcat服务可以使用下面的操作
#yum install tomcat
#yum install tomcat-admin-webapps
#yum install tomcat-webapps
#yum install tomcat-doc
启动、停止tomcat服务可以使用下面的操作
#systemctl enable tomcat.service
#systemctl start tomcat.service
#systemctl start tomcat.service
#systemctl stop tomcat.service