Change directory to /opt/shrine/tomcat/webapps. Delete all the files and directories.

cd /opt/shrine/tomcat/webapps
rm -rf *

Now change directory to /opt/shrine/tomcat/work, and delete all files and directories within that location too.

cd /opt/shrine/tomcat/work
rm -rf *

Finally change directory to /opt/shrine/tomcat/temp, and delete all files and directories within that location.

cd /opt/shrine/tomcat/temp
rm -rf *


Now change back to /opt/shrine/tomcat/webapps directory.  Download the shrine-api.war into webapps. (SHRINE is now a single .war file.)

cd /opt/shrine/tomcat/webapps
wget https://repo.open.catalyst.harvard.edu/nexus/content/groups/public/net/shrine/shrine-api-war/3.1.0/shrine-api-war-3.1.0.war -O shrine-api.war
  • No labels