SHRINE is served by Apache's Tomcat 9 application. We test with Tomcat 9.0.73 . In order to setup Tomcat successfully, please follow these steps:


mkdir -p /opt/shrine/tomcat
  
cd ~
wget https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.73/bin/apache-tomcat-9.0.73.tar.gz
tar xvf apache-tomcat-9.0.73.tar.gz -C /opt/shrine/tomcat --strip-components=1
  
cd /opt/shrine/tomcat
 
-- Setting correct permissions for Tomcat folders
chgrp -R shrine /opt/shrine/tomcat
chmod -R g+r conf
chmod g+x conf
chown -R shrine webapps/ work/ temp/ logs/
 
 
-- Restrict access to SHRINE to researchers within your institution by limiting access to Tomcat behind a firewall or an associated VPN.