installing tomcat in centos code example Example: install tomcat on centos 7 sudo yum install tomcat-webapps tomcat-admin-webapps