In this blog post will show us about step installing Apache Tomcat on OS X Mountain Lion. I assume we already have Java installed on our machine. The first step is downloading Tomcat binary distribution in Tomcat website. In this case I use version 7.0.30.
Extract the downloaded binary distribution onto ~/Download/apache-tomcat-7.0.30.
Create directory in /usr/local if we don’t have it yet.
sudo mkdir /usr/local
Move ~/Download/apache-tomcat-7.0.30 to /usr/local
To make it easy to replace this release with future releases, we are going to create a symbolic link that we are going to use when referring to Tomcat. Then we also will change owner and make script executable