1.install sudo yum install tomcat 2.Change setting sudo vi /usr/share/tomcat/conf/tomcat.conf add this to the last line: JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Xmx512m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC" 3.install tomcat-webapps sudo yum install tomcat-webapps tomcat-admin-webapps these (ROOT,examples,sample ,manager)file will appear in tmocat/webapp ,this means the installation is completed! after that ,you should add user for webapps-tool , sudo vi /usr/share/tomcat/conf/tomcat-users.xml add next line to tomcat-users.xml <user username="admin" password="password" roles="manager-gui,admin-gui"/> 4.start tomcat service sudo systemctl start tomcat |sudo systemctl restart tomcat ps : if you wangto make it start automatically ,when restart your server sudo systemctl enable tomcat