确保安装好jdk 1)安装yum install tomcat 2)启动systemctl start tomcat 3)设置自动启动systemctl enable tomcat 4)reboot测试