wget http://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
Where [directory-fortress-realm] is location of Fortress Realm source package and [VERSION] matches [directory-fortress-realm] package pom.xml file.
cp [directory-fortress-realm]/proxy/target/fortress-realm-proxy-[VERSION]-proxy.jar /usr/local/tomcat7/lib
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.
<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"/>
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.
tail -f -n10000 /usr/local/tomcat8/logs/catalina.out
Copyright 2003-2018, The Apache Software Foundation. All Rights Reserved.