Published on November 21, 2015 by Daniel Lanza
Requirements: Java (at least 1.6).
First, check your java version by opening the terminal:
$ java -version java version "1.8.0_65" Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
Follow these steps:
Create a Tomcat folder in /Library. There we can leave several Tomcat versions to test
sudo mkdir -p /Library/Tomcat sudo mv ~/Downloads/apache-tomcat-7.0.65 /Library/Tomcat
Make all scripts executable
sudo chmod +x /Library/Tomcat/apache-tomcat-7.0.65/bin/*.sh
Go to http://localhost:8080.