Install Tomcat on Mac OS X
55,141
Solution 1
brew install tomcat
(using Homebrew of course)
Solution 2
You just use brew install tomcat
as mentioned in the answer above. Should you want to edit configurations or add a web application to the Tomcat you downloaded in Homebrew, the files (aka "kegs" kept in the "Cellar") will normally be in the directory /usr/local/Cellar/<Your-Tomcat-Folder>
. Should you want to run Tomcat, you just use the catalina run
or just do catalina
and it will show you all the parameters you can use with Tomcat.
Alternatively using Homebrew, you could first install services with brew tap homebrew/services
, then start/stop/restart Tomcat with brew services start tomcat
and so on.
Author by
mllm
Updated on October 19, 2020Comments
-
mllm over 3 years
How do you install Tomcat on Mac OS X?
This guide looks quite complicated.