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: apache-tomcat-9.0.0.M22.zip 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:

/Library/Tomcat/bin/startup.sh

Step 4 – stop:

/Library/Tomcat/bin/shutdown.sh

Video Instructions


Partner Sites

VideoToGifs.com

EasyOnlineConverter.com

SqliteTutorials.com





Be the first to comment

Leave a Reply

Your email address will not be published.


*