Reputation: 17448
How do you install Tomcat on Mac OS X?
This guide looks quite complicated.
Upvotes: 40
Views: 79180
Reputation: 867
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 (a.k.a. "kegs" kept in the "Cellar") will normally be in one of the following directories:
/usr/local/Cellar/<Your-Tomcat-Folder>
(Intel based machines)/opt/homebrew/Cellar/<Your-Tomcat-Folder>
(Apple Silicon machines)(note: the specific Homebrew prefix is stored in the $HOMEBREW_PREFIX
variable)
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.
Upvotes: 39
Reputation: 805
If you want simple step by step installation process and customized configuration,Click on below tutorial links:
Upvotes: 2