Patrick-Dussault

Quick Steps to install Tomcat 8.5.9 on RedHat 6

Blog Post created by Patrick-Dussault Employee on Jan 18, 2018

Download apache-tomcat-8.5.9.tar.gz
Download jdk-7u80-linux-x64.tar.gz
Download JCE for Java 1.7 US_export_policy.jar and local_policy.jar

 

Install the JDK :

 

# mv jdk-7u80-linux-x64.tar.gz /opt/
# cd /opt
# tar xzvf jdk-7u80-linux-x64.tar.gz

 

Applies the JCE patches to the JDK :

 

# cp -p /opt/jdk1.7.0_80/jre/lib/security/US_export_policy.jar /opt/jdk1.7.0_80/jre/lib/security/US_export_policy.jar.orig
# cp -p /opt/jdk1.7.0_80/jre/lib/security/local_policy.jar /opt/jdk1.7.0_80/jre/lib/security/local_policy.jar.orig
# cp US_export_policy.jar /opt/jdk1.7.0_80/jre/lib/security/
# cp local_policy.jar /opt/jdk1.7.0_80/jre/lib/security/

 

Install Tomcat :

 

# mv apache-tomcat-8.5.9.tar.gz /opt/
# cd /opt/
# tar zxvf apache-tomcat-8.5.9.tar.gz
# export CATALINA_HOME=/opt/apache-tomcat-8.5.9
# export JAVA_HOME=/opt/jdk1.7.0_80/jre

 

Start Tomcat :

 

# cd /opt/apache-tomcat-8.5.9/bin/
# ./startup.sh

 

Test the Tomcat's welcome page :

 

On your Windows PC dos console :

 

c:\> start /B iexplore http://mytomcat.mydomain.com:8080/

 

You should see a page with

 

Apache Tomcat/8.5.9
If you're seeing this, you've successfully installed Tomcat. Congratulations!

Outcomes