Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Tomcat on Mac OS X

Tags:

java

macos

tomcat

How do you install Tomcat on Mac OS X?

This guide looks quite complicated.

like image 656
mllm Avatar asked Sep 08 '16 08:09

mllm


People also ask

Can I install Tomcat on Mac?

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.


3 Answers

brew install tomcat

(using Homebrew of course)

like image 188
mllm Avatar answered Oct 18 '22 20:10

mllm


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.

like image 31
Arty Avatar answered Oct 18 '22 22:10

Arty


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

like image 1
Jay Prakash Avatar answered Oct 18 '22 22:10

Jay Prakash