Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to install Apache Tomcat on Mac OSX Montain Lion 10.8.2
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
@hmajumdar

This comment has been minimized.

Copy link

commented Oct 25, 2013

Thanks!

@vcczh

This comment has been minimized.

Copy link

commented Feb 20, 2014

I think Line 10 need to be revised to
sudo chmod +x /Library/Tomcat/bin/*.sh

@deyviatens

This comment has been minimized.

Copy link

commented Jun 10, 2014

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

@waterkarma

This comment has been minimized.

Copy link

commented Jan 2, 2015

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)

@gavinhub

This comment has been minimized.

Copy link

commented Sep 3, 2015

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
You can’t perform that action at this time.