SHRINE is served by Apache's Tomcat application. The version that we recommend is Tomcat 8.5.28. In order to setup Tomcat successfully, please follow these steps (running as the root user):

mkdir -p /opt/shrine/tomcat
 
cd ~
wget https://archive.apache.org/dist/tomcat/tomcat-8/v8.5.28/bin/apache-tomcat-8.5.28.tar.gz
tar xvf apache-tomcat-8.5.28.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/

Please note, after installing Tomcat successfully, you should then proceed to follow the rest of the instructions as the SHRINE user.