How to Install Apache Tomcat on Mac OS X

Tomcat is a Servlet container (Web server that interacts with Servlets) developed under the Jakarta Project of Apache Software Foundation.
In this post we will see How to Install Apache Tomcat on Mac OS X.

Step 1 – Download and unzip the tar.gz.
Download a zip of the core module: from the official website of Apache Tomcat. (Binary Distributions / Core section):

cd Downloads

Open/unzip the zip will create a folder structure in your Downloads folder.

Step 2 – install:

sudo mkdir /usr/local
sudo mv ~/Downloads/apache-tomcat-7.0.*  /usr/local
sudo ln -s /usr/local/apache-tomcat-7.0.*  /Library/Tomcat
sudo chown -R <your OSX username>  /Library/Tomcat
sudo chmod +x /Library/Tomcat/apache-tomcat-7.0.*/bin/*.sh

Step 3 – start:


Step 4 – stop:


Video Instructions

Partner Sites

Be the first to comment

Leave a Reply

Your email address will not be published.