mllm
mllm

Reputation: 17448

Install Tomcat on Mac OS X

How do you install Tomcat on Mac OS X?

This guide looks quite complicated.

Upvotes: 40

Views: 79180

Answers (3)

Arty
Arty

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_PREFIXvariable)

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

Jay Prakash
Jay Prakash

Reputation: 805

If you want simple step by step installation process and customized configuration,Click on below tutorial links:

  • For tomcat installation:

This Guide

  • To Customize configuration:

Configuration

Upvotes: 2

mllm
mllm

Reputation: 17448

brew install tomcat

(using Homebrew of course)

Upvotes: 83

Related Questions