On Mac OS:
If you do not have Apache Tomcat installed, go to https://tomcat.apache.org and download tar.gz from the "Core:" list. Extract the contents:
tar -xf <filename>.tar.gz
Rename the resulting directory to: CATALINA_HOME and run the following commands:
cd CAATALIN_HOME/bin +x startup.sh ./startup.sh
When prompted: enter your Mac OS password
chmod +x catalina.sh sudo ./startup.sh
Tomcat started.
source share