1. Download Tomcat 7.0
Address: http://tomcat.apache.org/download-70.cgi
Binary Distributions -> Core
Select the zip or tar.gz format
2, installation
Download the compressed package extract to / Library / directory
Open Directory Tomcat / bin, executed in a terminal: sudo sh /Library/Tomcat/bin/startup.sh, start the Tomcat server
Tip error:
Solution:
Executed in a terminal: sudo chmod + x /Library/Tomcat/bin/*.sh, add executable permissions for all Shell script files in the bin directory
.Sh script to re-start the server execution, success!
3, the test
Open the Safari browser, in the address bar: http: // localhost: 8080, Enter!
See Tomcat test page
Reproduced in: https: //www.cnblogs.com/dyingbleed/archive/2012/12/25/2831821.html