Friday, May 26, 2017

How to install tomcat on Mac ?

This can be installed easily through the home-brew. 

$brew install tomcat 

this will take care of the downloading, installation and configuration of Tomcat and manage its dependancies as well. 

Brew keeps packages (known as kegs) in the Cellar, where one can check the config and data files. it is located at 

$ls /usr/local/cellar 

The tomcat installation can be verified using the home-brew’s service utility 

$brew services list 

To run the tomcat server, just execute the catalina command 

$ls /usr/local/Cellar/tomcat 
$ /usr/local/Cellar/tomcat /8.5.3/bin/catalina run 

after running the page can be visited at http://localhost:8080

references

No comments:

Post a Comment