Mac Mojave 10.14 Tomcat 9 Installation Guide
Hello Mac User! This is Tutorial Shows You Step-by-Step How-to Install Tomcat 9 in Mac Mojave 10.14 BSD/Unix Desktops.
First of all the Apache Tomcat 9 supports the Java Servlet 4.0, JavaServer Pages 2.4, Java Unified Expression Language 3.1 and Java API for WebSocket 2.0 specifications.
Furthermore in the Guide is included a Link on Getting-Started with Java Web Apps Deployment on Tomcat 9.
Finally an Easy Visualization of the entire process the How-to install Tomcat 9 on MacOS include the essentials Installation Screenshots.

-
First Open a Shell Terminal emulator window
(Press “Enter” to Execute Commands) -
Download Apache Tomcat 9 Java Server
-
Then Double-Click on Archive and Extract into /tmp
Or from Shell:tar xvzf ~/Downloads/apache-tomcat-9*.tar.gz -C /tmp/
-
And Relocate Apache Tomcat 9
First Set Permissions & Ownership with:sudo chmod -R root:wheel /tmp/apache-tomcat-9*
sudo chmod -R +xr /tmp/apache-tomcat-9*
Then Switch contents:
if [ ! -d "/opt" ]; then sudo mkdir /opt; fi
sudo mv /tmp/apache-tomcat-9* /opt/
-
How-to Install Required Oracle-Sun Java JDK 8+ on Mac:
-
Now the Commands to Start and Stop Tomcat 9 Server
To Start Up:
sudo /opt/apache-tomcat-9*/bin/startup.sh
To Shut Down:
sudo /opt/apache-tomcat-9*/bin/shutdown.sh
-
Finally to Access Tomcat Server Admin on Browser Go to
http://localhost:8080
Or whatever IP address the Server is installed… -
Tomcat 9 Deployment Quick Getting-Started: