Install Tomcat in Mac

Last Updated: June 1, 2021

In this article, we will see how to install Apache Tomcat web server on your Mac computer.  If you are PHP developer or Java developer(JSP) you can use this server for your web application development.

Download the files
First, you can download the Zip(Binary distribution) file from the download section of the website. There are several versions of the server. You can select the correct version which is compatible with your Java version installed on your computer.

Change the executable permissions
You can copy unzip the folder to the desired location of your computer and you can open the terminal and change the directory to the tomcat installation directory.

You need to change the permission of the file so that you can execute them.

 chmod +x *.sh

If you want to see the permission of these files you can run the following command in the terminal.

ls -al *.sh

Start the Tomcat server
Now you can start the Tomcat Server by running the following command in the terminal


So, this will start Tomcat Server and you can see the default page on http://localhost:8080

Tomcat Server Install on Mac

The installation process is very simple and enjoy web application development with Tomcat