wget https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.30/bin/apache-tomcat-8.0.30.tar.gz
tar xzf apache-tomcat-8.0.30.tar.gz
mv apache-tomcat-8.0.30 /usr/local/tomcat8
/usr/local/tomcat8/bin/startup.sh
ps -ef | grep tomcat
cp [directory-fortress-realm]/proxy/target/fortress-realm-proxy-[VERSION]-proxy.jar /usr/local/tomcat7/lib
Where [directory-fortress-realm] is location of Fortress Realm source package and
[VERSION] matches [directory-fortress-realm] package pom.xml file.
vi /usr/local/tomcat8/conf/tomcat-users.xml
<role rolename="manager-script"/>
<role rolename="manager-gui"/>
<user username="tcmanager" password="m@nager123" roles="manager-script"/>
<user username="tcmanagergui" password="m@nager123" roles="manager-gui"/>
Using the config file realm to store credentials for an important application like the Tomcat Manager is a
security antipattern. In production, the fortress realm should be used globally by Tomcat.
/usr/local/tomcat8/bin/shutdown.sh
/usr/local/tomcat8/bin/startup.sh
tail -f -n10000 /usr/local/tomcat8/logs/catalina.out
Ensure there are no errors within Tomcat's log. One common problem:
UnsupportedClassVersionError. This is a sure sign that your Tomcat is running under the wrong version of java.
Remember Java 7 or greater is required to run this tutorial.
Copyright 2003-2018, The Apache Software Foundation. All Rights Reserved.