Last active
April 14, 2020 16:29
-
-
Save leandropincini/4384452 to your computer and use it in GitHub Desktop.
How to install Apache Tomcat on Mac OSX Montain Lion 10.8.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download and unzip the tar.gz: | |
http://tomcat.apache.org/download-70.cgi | |
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 | |
start: | |
/Library/Tomcat/bin/startup.sh | |
stop: | |
/Library/Tomcat/bin/shutdown.sh |
Thank You. Worked fine for OS X Yosemite 10.10.1
java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
Thank you very much!
And for beginners like me, the default port number is 8080.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo chmod +x /Library/Tomcat/bin/.sh
me sale esto
chmod: /Library/Tomcat/apache-tomcat-7.0.54/bin/.sh: No such file or directory