Installing Tomcat on macOS Sierra

12 Jul 2017  

Download Apache Tomcat on http://tomcat.apache.org. Select the latest version, and download the binary distribution of the core module in tar.gz.

Unzip the tar.gz file. You may use the freeware app Unarchiver, which is perfect for all kinds of compressed files.

Move the unarchived folder to /Library. If you cannot find the Library folder, Go to Finder > Go > Go to Folder…, input /Library and click Go.

Rename it Tomcat.

Change ownership of the /Library/Tomcat folder hierarchy:

sudo chown -R <your_username>/Library/Tomcat

Make all scripts executable:

sudo chmod +x /Library/Tomcat/bin/*.sh

Download the freeware app Tomcat Controller. Set up the Preferences as follows: Tomcat Home Directory /Library/Tomcat. Tomcat Port 8080. Default Application /.